Simple First Order System - FirstOrder

Gallery
Tutorial
Click on the image to view it full size
The Modelica By Example target code is:

model FirstOrder
  Real x;
equation
  der(x) = 1-x;
end FirstOrder;
The exported Modelica code is:

model FirstOrder
  Real x;
equation
  der(x)=1-x;
end FirstOrder;
Note that by having the ConstraintBlock Eq owned by the Block FirstOrder that uses it, the constraint property name eq:Eq can be kept short and sweet, and it does not appear explicitly in the exported Modelica code anyway .
Up next
Notes
Snippets (quotes/extracts)
Visit also
Visit also (backlinks)
Related slides (includes other tutorials)
Related slides (backlinks, includes other tutorials)
External links