Hi Chun Kwong, Did you figure out the problem with the type that you are writing?If not, please feel free to send me the source code and workspace (or solution file).
Regards, Diego Quoting h8304506@hkusua.hku.hk:
Dear Trnsys users. I am trying use the utility subroutine "Pyschrometrics" in my own component. However, an "access violation" error was found. I have already included the statements "Use TrnsysConstants" and "Use TrnsysFunctions" in my source code. Is there anything more that I have to add in order to use the utility subroutines. Your reply will be highly appreciated. Thank you! Best Regards LEE, Chun Kwong PhD student Department of Mechanical Engineering University of Hong Kong