CreateDataSystemModel

CreateDataSystemModel[{v1,v2,}]

creates a SystemModel generating a signal of values vi.

CreateDataSystemModel[{{t1,v1},}]

creates a model for the time-value pairs {ti,vi}.

CreateDataSystemModel[obj]

creates a model for the TimeSeries or InterpolatingFunction obj.

CreateDataSystemModel[fun,tmin,tmax]

creates a model with samples from the function fun between tmin and tmax.

Details and Options

Examples

open allclose all

Basic Examples  (3)

Create a model from a list of time-value pairs:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Simulate and plot the output of the data model:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Create a model from a TimeSeries:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input

Simulate and plot the output:

In[3]:=
Click for copyable input
Out[3]=

Create a data model of a sampled function between 0 and 10 seconds:

In[1]:=
Click for copyable input

Simulate and plot the output:

In[2]:=
Click for copyable input
Out[2]=

Scope  (15)

Options  (6)

Applications  (1)

Properties & Relations  (2)

Possible Issues  (1)

See Also

CreateSystemModel  SystemModelSimulate  ConnectSystemModelComponents

Introduced in 2018
(11.3)