Page 1 of 1

APS_SolarGain

Posted: Tue Nov 21, 2017 2:51 pm
by Jul114
Hi everyone,

It's my first time in VEScript and I have encountered a problem which may be simple but seems very difficult from my perspective. I have tried to find the answer into the VEScript User Guid but I didn't succeed.
Here is my problem: I am able to launch a dynamic simulation through VEScript but I don't know what's the correct function to find easily my results.
I would like to get the Solar gain for some designated rooms. I am able to choose thoses rooms but not the function to get the results of the aps file for the solar gain.
Moreover, is there a script to get the area of external insolation after a SunCast simulation?
Don't worry I don't need a very complete answer! Only the function to get the solar gain and the area of external insolation will be more than enought.

I'm considering to suscribe to the course: Introduction to Python Scripting in VE 2017. Do you know if it's useful? I already have some pretty good bases in Python.

Thanks for your answer, Jules :)

Re: APS_SolarGain

Posted: Fri Jan 19, 2018 5:34 am
by bbrannon4
Hi @Jul114 (does that mean you're birthday is January 14th, because that mine too! or maybe you aren't in the US and that means November 4th...)

On to relevant things: I participated in one of the early VE Python scripting web courses, and I think there was too much time spent teaching python instead of IES specifics, so if you'd like a good python refresher, then it's probably good, otherwise maybe try to find a more advanced one.

For reading files, if you still haven't fixed you're issue, I'd recommend looking at some of the example scripts, specifically the 'read_aps_energy.py'. That goes through some useful functions that IES has provided to read results, and examples for using them. If you want to talk through some specifics after you read that (or if you already have) I'll be happy to try to help you come up with more specific code for your case.