There are three case studies contained in this package:
The Ejs package includes the Modelica model description that can be used in combination with Ejs and Matlab/Simulink
to build the virtual-lab.
This model inherits from the class describing the physical model included in the PhysicalModel package.
The view of the virtual-labs are implemented using Easy Java Simulations
(abbreviated: Ejs. http://fem.um.es/Ejs/).
The communication between the virtual-lab view (programmed using Ejs)
and the virtual-lab model (C-code generated by Dymola) is accomplished by using
the Ejs-Simulink and the Dymola-Simulink interfaces.
The C-code generated by Dymola for the Modelica model can be embedded within a Simulink block.
On the other hand, Ejs allows the model to be partially or completely developed using Simulink block diagrams.
As a consequence, virtual-labs supporting runtime interactivity can be implemented by combining the use of Ejs,
Matlab/Simulink and Modelica/Dymola.
The Modelica model needs to be adequately formulated in order to be:
(1) useful as a Simulink block;
(2) able to accept information from the virtual-lab view; and
(3) able to return information to the virtual-lab view.
The Sysquake package includes the Modelica model description that can be used in combination with Sysquake
to build the virtual-lab.
A set of Sysquake functions can be used to facilitate data exchange between the
view and the model of the virtual-lab.
These functions synchronizes the execution of the dymosim.exe file (generated by Dymola)
and the Sysquake application.
The VirtualLab package includes the Modelica description of the virtual-lab view and the virtual-lab.
The virtual-lab view is composed using components of the VirtualLabBuilder library.
This library contains a set of Modelica models of visual interactive elements
(i.e., containers, animated geometric shapes and interactive controls)
that allows easy creation of the virtual-lab view (i.e., the model-to-user interface).
Name | Description |
---|---|
![]() | Package including the batch-reactor models |
![]() | Package including the industrial boiler models |
![]() | Package including the double-pipe Heat exchanger models |