python SDK for battery results

  • JamesHK
  • Topic Author
More
05 Jan 2020 10:34 #7854 by JamesHK
python SDK for battery results was created by JamesHK
Hello, I would like to get a results for hourly 'Electricity to grid from battery (kW)' and hourly 'Electricity to battery from PV(kW)'. I would like to use ssc.data_get_array(data, b'XXX') and wonder what are the XXX for the aforementioned data.

Also, it would be great to know how SAM calculates capacity factor in the case with battery.

Thank you.
Attachments:

Please Log in or Create an account to join the conversation.

  • pgilman
More
06 Jan 2020 10:55 - 06 Jan 2020 10:58 #7858 by pgilman
Replied by pgilman on topic python SDK for battery results
Hi James,

One way to find the SSC variable names for SAM variable labels is to use the Parametric simulation output variable list:
  1. In SAM, open or create a case for the kind of system you are modeling using the SDK.
  2. Click Parametrics (under the Simulate button).
  3. Click Outputs at the top of the Parametrics page.
  4. Use the Search box to filter the list of output variables available for that case.


Best regards,
Paul.
Last edit: 06 Jan 2020 10:58 by pgilman.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum