[TRNSYS-users] Make new component in TRNSYS 18
이형석
hyeongseoklee at korea.ac.kr
Sat Apr 25 22:15:22 PDT 2020
Dear all,
I'm trying to make new component in TRNSYS 18, and I refer to
programming guide documentation to make the thing.
But there is some problem while doing this..
This is my steps to make new component.
1. Make new component in Simulation Studio. And assign the type
number(ex : 201).
2. Click the button 'Export as Fortran', and make fortan file.
3. Open the Type Studio and click the 'Add the source files' button. and
choose the fortran file that I make at step 2.
4. Copy the whole example
script(TRNSYS18\Examples\CompilingTypes\Type201) which models an heater.
(It can be alter to other code maybe)
5. Click the 'Compile Workspace' button in Build menu. Then it shows my
compiling is well done.
6. Come back to Simulation Studio and add my component no. 201.
7. No PARAMETER, INPUT, OUTPUT value in component??!!?
So I set variables manually in 'Variables list', then it works. But I
think it's little weird.
I think when I write the codes grammatically correct, my components
variable sets change automatically. But it's not.
Is there any wrong in my steps?
Best Regards,
Hyeong Seok Lee
More information about the TRNSYS-users
mailing list