Toy Train Model

Source Notebook

A model of a toy train

Examples

Basic Examples (3) 

Retrieve the model:

In[1]:=
ResourceData[\!\(\*
TagBox["\"\<Toy Train Model\>\"",
#& ,
BoxID -> "ResourceTag-Toy Train Model-Input",
AutoDelete->True]\)]
Out[1]=

The icon:

In[2]:=
ResourceData[\!\(\*
TagBox["\"\<Toy Train Model\>\"",
#& ,
BoxID -> "ResourceTag-Toy Train Model-Input",
AutoDelete->True]\), "Icon"]
Out[2]=

The annotation:

In[3]:=
ResourceData[\!\(\*
TagBox["\"\<Toy Train Model\>\"",
#& ,
BoxID -> "ResourceTag-Toy Train Model-Input",
AutoDelete->True]\), "Annotation"]
Out[3]=

Scope & Additional Elements (4) 

Available content elements:

In[4]:=
\!\(\*
TagBox[
RowBox[{"ResourceObject", "[", "\"\<Toy Train Model\>\"", "]"}],
#& ,
BoxID -> "ResourceTag-Toy Train Model-Input",
AutoDelete->True]\)["ContentElements"]
Out[4]=

The available model types:

In[5]:=
ResourceData[\!\(\*
TagBox["\"\<Toy Train Model\>\"",
#& ,
BoxID -> "ResourceTag-Toy Train Model-Input",
AutoDelete->True]\), "AvailableModelTypes"]
Out[5]=

The operating point:

In[6]:=
ResourceData[\!\(\*
TagBox["\"\<Toy Train Model\>\"",
#& ,
BoxID -> "ResourceTag-Toy Train Model-Input",
AutoDelete->True]\), "OperatingPoint"]
Out[6]=

The parameters:

In[7]:=
ResourceData[\!\(\*
TagBox["\"\<Toy Train Model\>\"",
#& ,
BoxID -> "ResourceTag-Toy Train Model-Input",
AutoDelete->True]\), "Parameters"]
Out[7]=

Analysis (3) 

The state space model and parameters:

In[8]:=
{ssm, pars} = Table[ResourceData[\!\(\*
TagBox["\"\<Toy Train Model\>\"",
#& ,
BoxID -> "ResourceTag-Toy Train Model-Input",
AutoDelete->True]\), elems], {elems, {"StateSpaceModel", "Parameters"}}]
Out[8]=

Its eigenvalues are highly oscillatory:

In[9]:=
Eigenvalues[First[Normal[ssm /. pars]]] // Chop
Out[9]=

The plot shows oscillatory motions of the locomotive and car after a disturbance:

In[10]:=
OutputResponse[{ssm /. pars, {0.1, 0, 0, 0}}, 0, {t, 0, 100}];
Plot[%, {t, 0, 30}, PlotRange -> All, PlotLegends -> {Subscript[x, 1], Subscript[x, 2]}]
Out[11]=

Suba Thomas, "Toy Train Model" from the Wolfram Data Repository (2025)  

Data Resource History

Source Metadata

Publisher Information