12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
@comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@comment Version control history
@comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@comment $Id$
@comment $Log$
@comment Revision 1.27 2005/01/06 14:42:33 geraint
@comment Fixed explicit/implicit descriptions of forward/backward Euler.
@comment Replaced -c examples with -cc.
@comment
@comment Revision 1.26 2005/01/06 12:28:36 geraint
@comment Minor typos.
@comment
|
>
>
>
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
@comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@comment Version control history
@comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@comment $Id$
@comment $Log$
@comment Revision 1.28 2005/01/06 16:03:55 geraint
@comment Updated options list.
@comment
@comment Revision 1.27 2005/01/06 14:42:33 geraint
@comment Fixed explicit/implicit descriptions of forward/backward Euler.
@comment Replaced -c examples with -cc.
@comment
@comment Revision 1.26 2005/01/06 12:28:36 geraint
@comment Minor typos.
@comment
|
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
|
Inputs are defined by the full system name appearing in the structure
file (@pxref{Structure (struc)}). They can depend on states (again defined by
name), time (defined by t) and parameters
For example:
@example
system_pump_l_1_u = 4e5*atm;
system_pump_r_1_u = 4e5*(t<10)*atm;
system_ss_i = 0*kg;
system_ss_o = 3e-3*kg;
system_v_1_u = (t>10);
system_v_ll_1_u = 1;
system_v_lr_1_u = (t<10);
system_v_ul_1_u = 0;
system_v_ur_1_u = (t>10);
@end example
@node Simulation logic, Simulation initial state, Simulation input, Simulation
|
|
|
|
|
|
|
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
|
Inputs are defined by the full system name appearing in the structure
file (@pxref{Structure (struc)}). They can depend on states (again defined by
name), time (defined by t) and parameters
For example:
@example
system_pump_l_1_u = 4e5*atm;
system_pump_r_1_u = 4e5*(t<10)*atm;
system_ss_i = 0*kg;
system_ss_o = 3e-3*kg;
system_v_1_u = (t>10);
system_v_ll_1_u = 1;
system_v_lr_1_u = (t<10);
system_v_ul_1_u = 0;
system_v_ur_1_u = (t>10);
@end example
@node Simulation logic, Simulation initial state, Simulation input, Simulation
|
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
|
# Generated by MTT at Mon Jun 16 15:10:17 BST 1997
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %% Revision 1.27 2005/01/06 14:42:33 geraint
# %% Fixed explicit/implicit descriptions of forward/backward Euler.
# %% Replaced -c examples with -cc.
# %%
# %% Revision 1.26 2005/01/06 12:28:36 geraint
# %% Minor typos.
# %%
|
>
>
>
|
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
|
# Generated by MTT at Mon Jun 16 15:10:17 BST 1997
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %% Revision 1.28 2005/01/06 16:03:55 geraint
# %% Updated options list.
# %%
# %% Revision 1.27 2005/01/06 14:42:33 geraint
# %% Fixed explicit/implicit descriptions of forward/backward Euler.
# %% Replaced -c examples with -cc.
# %%
# %% Revision 1.26 2005/01/06 12:28:36 geraint
# %% Minor typos.
# %%
|