how to crteate two blocks and connect between them.
Title
Question
I want to create two blocks and connect between them such that the second block's inputs are the first block's outputs,
can anyone help me, please?
OpenModelica Block-Component-Modeling 04-05 min 20-30 sec
Answers:
Communicating data between objects/blocks can be achieved by use of connector classes. Connector classes are kind of ports. Note that there are no equations allowed in the definition of connector classes.
Please refer to the book "Modelica by Example" to learn more about how to create and define a connector in Modelica.
Login to add comment