Hi,
In the 'old' scripting langauge, we succesfully used a line like this to set the weather for a PV site to be an actual weather file:
setinput( "climate.location", "K:/IPL/Program Folders/Renewables/WeatherData/IOWA_2010-15_4_CITIES_rev1/" + filename + "/" + filename + ".epw" )
Under the new scripting language, we've tried a variety of variables to set to a custom weather file but all teh simulations seem to use the same weather we start with. Example:
if (Station=="ALGONA")
{filename = "IA_" + Station + "_725457_" + run_yr;}
elseif (Station=="DECORAH-MUNI")
{filename = "IA_" + Station + "_725476_" + run_yr;}
elseif (Station=="PERRY-MUNI-AP")
{filename = "IA_" + Station + "_720412_" + run_yr;}
elseif (Station=="WASHINGTON")
{filename = "IA_" + Station + "_725454_" + run_yr;}
outln("filename: " + filename);
set( "solar_resource_file", filename + ".epw" );
Is it obvious what we're doing wrong?
Thanks,
Stephan