Ask Your Question
0

Load Dynamic Model Library

asked Apr 22 '13

waltterval gravatar image

I need to find a way to load a *.dll(Dynamic Model Library, with use models) into a simulation that I run with python.

Do you know if there is a python api to do it?

Regards, Waltter

1 answer

Sort by » oldest newest most voted
1

answered Apr 25 '13

Johannes.Thorleiksson gravatar image

Hey

This for example adds wind.dll library to the simulation psspy.addmodellibrary(r"""C:\Users\chjotho\Documents\PSSE\TruflunBrennimelWT4\wind.dll""")

link

Comments

Thank you, That is exactly what I was looking for!!!

waltterval gravatar imagewaltterval (Apr 26 '13)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Apr 22 '13

Seen: 2,922 times

Last updated: Apr 25 '13