simout from simulink produce more data then give.

2 visualizzazioni (ultimi 30 giorni)
I am working with a friend to model cyclic strees strain in simulink. we also have cyclic stress strain result form experiment. this cyclic test was done for 49100 cycle but not all cycle are recorded. example is 1 to 10, then from 100 increment of 100 till 1000 and so on are only cyclic recorded. stress strain data from experiment was used as a reference for numerical simulation with 1-D lookup table. then, 1-D lookup table was connected to simout block which produced the simulated stress strain result. the problem is with number data it produce. for the first 10 cycle, it has the same number of result as experiment, but for 100 to 1000 with increment 100 increment produce about 5 time the amount of data as the experimental data. problem is we are not sure why simulink produce more data when cycle between them are omitted(ex cycle 101 to 199 was amitted and so on for the rest). any explanation will be much appreciated.
Sincerely,
Siva

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 30 Giu 2017
The data in simout is determined by the number of simulations that have been ran. You input data might have been from 1 to 10, increment by 1, then from 10 to 100, increment by 10, then from 100 to 1000, increment by 100. But simulation has to be run on a fixed step, or a variable step determined by the solver. I don't see an easy way to set up the simulation step exactly as your input.
You need to go to tools menu, Simulation->Model Configuration Parameters, then on the left panel, select "Solver" and "Data Import/Export" to figure this out.

Più risposte (0)

Categorie

Scopri di più su Stress and Strain in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by