A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/SystemModelSimulate.html below:

Simulate a System Model—Wolfram Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technology expertise.

WolframConsulting.com

BUILT-IN SYMBOL

SystemModelSimulate[model,vars,{tmin,tmax}]

stores only simulation data for the variables vars.

Details and Options Examplesopen allclose all Basic Examples  (3)

Simulate a model with the time interval of simulation settings from the model:

Do a parameter sweep over a voltage offset:

Plot the voltage for all simulations:

Use the diagram representation of a model as input:

Copy and paste the output above:

Or use the name string:

Scope  (22) Simulation Time  (4)

Simulate with settings from the model:

Simulate from time 0 to 5:

Simulate for an explicit time interval:

Use a Quantity to specify the time interval:

Variables, Parameters and Inputs  (8)

Initial values for variables can be set using "InitialValues":

Parameter values can be set using "ParameterValues":

Simulate a model that adds two inputs together:

Plot the inputs and the output:

Simulate for different initial values for the variable x:

Plot the variable x from all simulations:

Simulate a model with default parameters:

Set a parameter in the simulation:

Compare the variable between the simulations:

Do a parameter sweep over a voltage offset:

Plot the voltage for all simulations:

Setting ranges for two parameters simulates once for each position in the ranges:

Simulate a model with a TimeSeries as input:

Define a time series object:

Simulate the model:

Plot the input and the output:

Simulation Results  (5)

Simulate a model and plot the variables x1 and x2:

Simulate a model:

Get simulation results for the variables x and x':

Plot the variables using the Plot function:

Simulate a model and find the maximum of a variable:

Get the value of the variable angle1v:

Find the maximum value of the angle:

Run a simulation and plot in a single call:

Specify arguments to SystemModelSimulate:

Store only selected variables:

Only the given variables are saved:

Generalizations & Extensions  (1)

Debug messages are collected in the message group "WSMDebug":

Turn on debug messages for initialization:

Turn off all debug messages for "WSMDebug":

Options  (10) InterpolationOrder  (1)

Simulate with interpolation orders 1 and 3, and 3 interpolation points:

Show the x variable:

Method  (8)

Use a fixed-step solver:

Plot the result:

Use an adaptive-step solver:

Show the result in a ParametricPlot:

For stiff problems, use an adaptive-step method:

Simulating with too few interpolation points can give inexact plots:

Increasing the number of points gives a better result:

The default step size for a fixed-step solver might be smaller than needed:

Use a larger step size to speed up computation:

The result is comparable:

Let an adaptive solver choose the solver steps:

Use NDSolve for simulating a model:

The result is a SystemModelSimulationData object containing the simulation results:

Pass options to NDSolve:

The accuracy is reduced because of the options:

Applications  (11)

Calculate the overshoot of the height in a tank system:

Find the maximum peak value:

Get the value of the step sent in to the tank:

Calculate the overshoot:

Show the overshoot:

Calculate the rise time for the height in a tank system:

Get the required values at 10% and 90% by looking at the steady-state value for height:

Find the times at which the signal reaches these values:

Calculate the rise time:

Plot lines at the final value, and when the signal reaches 10% and 90% of the final value:

Calculate the settling time for the height in a tank system:

Find 5% bounds on the final value:

Find the time at which the signal stays within these values:

Plot the bounds and the found settling time:

Change parameter values interactively:

Simulate a rolling wheel for different starting inertias along the wheel axis:

Fetch the trajectories for the wheel:

Plot the trajectories:

Analyze resonance peaks when varying a spring constant:

Compute from :

Show the resonance peaks:

Calibrate parameters in a model by comparing to measurement data:

Set up a criteria function for model fitting:

Fit parameters to the test data:

Simulate with the fitted parameters:

Show the test data and the calibrated model together:

Filter sampled data from a Tinker Forge Weather Station:

Time shift and retrieve the magnitude of the data:

Run the time series through a lowpass filter:

Simulate a lowpass filter with sound as input:

Simulate with given input sound:

Retrieve the audio for input and output:

Simulate a Newton's cradle:

Fetch trajectories from the result:

Visualize the cradle:

Visualize simulated data with a WaveletScalogram:

Pick out the data you are interested in:

Compute the wavelet transform:

Plot the wavelet vector coefficients:

Properties & Relations  (3) Neat Examples  (1)

Simulate a Van der Pol model and show in a parametric plot:

Wolfram Research (2018), SystemModelSimulate, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemModelSimulate.html (updated 2022). Text

Wolfram Research (2018), SystemModelSimulate, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemModelSimulate.html (updated 2022).

CMS

Wolfram Language. 2018. "SystemModelSimulate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/SystemModelSimulate.html.

APA

Wolfram Language. (2018). SystemModelSimulate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemModelSimulate.html

BibTeX

@misc{reference.wolfram_2025_systemmodelsimulate, author="Wolfram Research", title="{SystemModelSimulate}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/SystemModelSimulate.html}", note=[Accessed: 12-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_systemmodelsimulate, organization={Wolfram Research}, title={SystemModelSimulate}, year={2022}, url={https://reference.wolfram.com/language/ref/SystemModelSimulate.html}, note=[Accessed: 12-July-2025 ]}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4