- Posts: 8
How could I look at python codes for wind_obos module?
- seyong.kim
- Topic Author
Less
More
16 Aug 2018 09:49 #6408
by seyong.kim
How could I look at python codes for wind_obos module? was created by seyong.kim
Hi,
I simulated a model for offshore wind farm in SAM and generated a Python codes.
While I am reviewing the codes and trying some modification for iterative simulations, I cannot see how wind_obos module works from the generated code, for example, setting input variables for wind_obos (offshore balance of system model), executing wind_obos module, and retrieving the output etc.
Does anybody know how to work on this?
Best regards,
Seyong
I simulated a model for offshore wind farm in SAM and generated a Python codes.
While I am reviewing the codes and trying some modification for iterative simulations, I cannot see how wind_obos module works from the generated code, for example, setting input variables for wind_obos (offshore balance of system model), executing wind_obos module, and retrieving the output etc.
Does anybody know how to work on this?
Best regards,
Seyong
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
20 Aug 2018 14:31 #6409
by pgilman
Replied by pgilman on topic How could I look at python codes for wind_obos module?
Dear Seyong,
The Wind Offshore Balance of System (OBOS) cost model is implemented as part of the SAM user interface, so it is not available via the SSC API. In other words, the OBOS model inputs are not inputs to SSC, only to the SAM user interface.
If you are trying to automate simulations involving the OBOS, you might have better luck writing an LK script in the script editor that is part of the user interface, which allows you to interact with the user interface variables.
For more on working with LK in SAM, see this introduction:
sam.nrel.gov/node/69358
Best regards,
Paul.
The Wind Offshore Balance of System (OBOS) cost model is implemented as part of the SAM user interface, so it is not available via the SSC API. In other words, the OBOS model inputs are not inputs to SSC, only to the SAM user interface.
If you are trying to automate simulations involving the OBOS, you might have better luck writing an LK script in the script editor that is part of the user interface, which allows you to interact with the user interface variables.
For more on working with LK in SAM, see this introduction:
sam.nrel.gov/node/69358
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman