Ticket #1721: gaspropreties.mo
File gaspropreties.mo, 369 bytes (added by , 13 years ago) |
---|
Line | |
---|---|
1 | within ; |
2 | package gaspropreties |
3 | model gaspropreties1 |
4 | protected |
5 | Real pco1; |
6 | equation |
7 | when initial() then |
8 | pco1=14.39; |
9 | end when; |
10 | end gaspropreties1; |
11 | //************************* |
12 | model intake1 |
13 | extends gaspropreties1; |
14 | protected |
15 | Real var; |
16 | equation |
17 | var=1/pco1; |
18 | end intake1; |
19 | annotation (uses(Modelica(version="3.1"))); |
20 | end gaspropreties; |
21 |