1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import ExternalModule
- module LocalModule
- semantic adaptation (reactive/delayed) (mealy/moore) Adapted_FMU_Name
- for fmu FMU1 fmu1
- at "./path/to/FMU1.fmu"
- input ports fmu_in_port1, ...
- output ports fmu_out_port1,...;
- ...
- input ports in_port_1,
- ...
- ;
- output ports out_port_1,
- ...
- ;
- param p1 := c1,
- ...
- ;
- in var iv1 := init_iv1,
- ...
- ;
- control var cv1 := init_cv1
- ...
- ;
- out var ov1 := init_ov1,
- ...
- ;
- in rules {
- in_condition_1 -> {
- sa_in_1
- } --> {
- update_in_1
- };
- ...
- }
- control rules {
- control_block_part_1
- do_step(fmu1, inner_t, h)
- control_block_part_2
-
- return step_size;
- }
- out rules {
- out_condition_1 -> {
- update_out_1
- } --> { sa_out_1 };
- ...
- }
|