An abstraction layer that can be put in front of our Subset Simulation Toolbox to simplify setup and speed up model evaluations.
이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
This project contains adapter code to interface with Simulink models when using the subset simulation toolbox at https://gitlab.com/tum-fsd/subsetsim.
Since Simulink models usually execute slower than native C/C++ binaries, the standard approach would be to use the (rapid) accelerator mode in Simulink to increase simulation speed for many parameter samples in Monte Carlo Simulations. However we found this to have an unnecessarily large computational overhead when data is transferred between the simulation model on a deferred worker thread and the coordinator on the host. Instead, this project allows to generate and build C code that minimizes data transfer to make Monte Carlo parameter studies much faster.
In the main toolbox folder, you can find a subfolder demo/01-delay:
metric = tulrfsd.mcmc.Metric("biased_signal", "<", 1)
scenario = tulrfsd.mcmc.CompiledScenario("DelayModel")
parameters = tulrfsd.mcmc.Parameter({
% parameter % distribution model % mapping function
"delay", makedist("norm", 0, 300), @abs
})
study = tulrfsd.mcmc.Study(scenario, metric, parameters)
% estimate the failure probability that the metric is violated
[P_f, cause, subsets] = study.probability()
This snippet configures the three interface parts, metric, scenario and parameters, that are needed to setup a study. Then the toolbox will configure the underlying subset simulation algorithm and return the estimated failure probability.
인용 양식
Schwaiger, Florian, et al. “Acceleration Framework to Quantify the Influence of Uncertain Parameters on Simulation Models Using Matlab and Simulink.” AIAA Scitech 2021 Forum, American Institute of Aeronautics and Astronautics, 2021, doi:10.2514/6.2021-1980.
MATLAB 릴리스 호환 정보
- R2020b 이상 릴리스와 호환
플랫폼 호환성
- Windows
- macOS
- Linux
