Example Code for Downloading Inverter Efficiency Values SAM->SDK

1 post / 0 new
James M.S. Barile
Example Code for Downloading Inverter Efficiency Values SAM->SDK

Dear Paul,

This is James, whom had contacted you along with Elizabeth earlier this month for the Yale research code. Thank you for assisting us then.

Could you provide an example line of LK code that would load an 'inv_eff' value to an input, given the inverter type. Though our data set contains the litany of inverter types, to individually search for the efficiency value in SAM is prohibitively slow.

Our best loading of external files to inputs, using a weather example, has looked like this:

eather_file=choose_file(cwd(),'Choose weather file', 'TMY2 (*.tm2)|*.tm2');
var( 'solar_resource_file', weather_file );

Nonetheless, this requires mannual file selection, and the desired input in this case is a full file, not an integer located somewhere in a large file.

As you can see, this prevents us from coding in SDK in the same way that one hopes to use SAM. Could you help us with that problem?

Best,
James

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer