-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improving indexing of solar weather file based on dt in input .yaml f…
…ile (#111) * created dummy example for amr wind dummy + solar * final commit before creating feature branch * preparing inputs for running hercules using ARM solar data * running OK ARM solar data * running hercules using solar data from ARM in OK * minor cleanup * improving how solar pysim grabs data from solar weather file based on simulation time * removing unnecessary files * minor cleanup * more minor cleanup * cleanup * ruff fixes * ruff formatting * adding input solar data * adding verbose flag to turn on and off debugging print statements
- Loading branch information
1 parent
446ca31
commit ec97c75
Showing
9 changed files
with
124,322 additions
and
187 deletions.
There are no files selected for viewing
540 changes: 540 additions & 0 deletions
540
example_case_folders/07_floris_standin_and_solar_pysam/ARM_solar_data_precursor.csv
Large diffs are not rendered by default.
Oops, something went wrong.
122,402 changes: 122,402 additions & 0 deletions
122,402
..._case_folders/07_floris_standin_and_solar_pysam/Flatirons_solar_data_precursor-tztest.csv
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
example_case_folders/07_floris_standin_and_solar_pysam/hercules_input_Flatirons.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Input YAML for emy_python | ||
|
||
# Name | ||
name: Flatirons_site | ||
|
||
### | ||
# Describe this emulator setup | ||
description: Floris and Solar PV | ||
|
||
dt: 1.0 #0.5 [s] # must be equal to (or a multiple of) temporal resolution of input solar data | ||
|
||
hercules_comms: | ||
|
||
amr_wind: | ||
|
||
wind_farm_0: | ||
type: amr_wind_local #options are amr_wind or amr_wind_local | ||
amr_wind_input_file: amr_input.inp | ||
|
||
helics: | ||
|
||
config: | ||
name: hercules # What is the purpose of this name | ||
use_dash_frontend: False | ||
KAFKA: False | ||
KAFKA_topics: EMUV1py | ||
helics: | ||
# deltat: 1 # This will be assigned in software | ||
subscription_topics: [status] | ||
publication_topics: [control] | ||
endpoints: [] | ||
helicsport: 32000 | ||
publication_interval: 1 | ||
endpoint_interval: 1 | ||
starttime: 0 | ||
stoptime: 6 # 100 | ||
Agent: ControlCenter | ||
|
||
py_sims: | ||
|
||
solar_farm_0: # The name of py_sim object 1 | ||
|
||
py_sim_type: SolarPySAM | ||
verbose: True # flag to print debugging statements | ||
weather_file_name: Flatirons_solar_data_precursor-tztest.csv | ||
system_info_file_name: 100MW_1axis_pvsamv1.json | ||
lat: 39.7442 | ||
lon: -105.1778 | ||
elev: 1829 | ||
|
||
# capacity: 100 # MW | ||
|
||
initial_conditions: | ||
|
||
power: 25 # MW | ||
dni: 1000 | ||
|
||
controller: | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
65 changes: 65 additions & 0 deletions
65
example_case_folders/07_floris_standin_and_solar_pysam/hercules_input_OK_ARM.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Input YAML for emy_python | ||
|
||
# Name | ||
name: OK_ARM_precursor | ||
|
||
### | ||
# Describe this emulator setup | ||
description: Floris and Solar PV | ||
|
||
dt: 60.0 # 1.0 #0.5 | ||
|
||
hercules_comms: | ||
|
||
amr_wind: | ||
|
||
wind_farm_0: | ||
type: amr_wind_local #options are amr_wind or amr_wind_local | ||
amr_wind_input_file: amr_input.inp | ||
|
||
helics: | ||
|
||
config: | ||
name: hercules # What is the purpose of this name | ||
use_dash_frontend: False | ||
KAFKA: False | ||
KAFKA_topics: EMUV1py | ||
helics: | ||
# deltat: 1 # This will be assigned in software | ||
subscription_topics: [status] | ||
publication_topics: [control] | ||
endpoints: [] | ||
helicsport: 32000 | ||
publication_interval: 1 | ||
endpoint_interval: 1 | ||
starttime: 0 | ||
stoptime: 300 # 26000 # 100 | ||
Agent: ControlCenter | ||
|
||
py_sims: | ||
|
||
solar_farm_0: # The name of py_sim object 1 | ||
|
||
py_sim_type: SolarPySAM | ||
verbose: True # flag to print debugging statements | ||
weather_file_name: ARM_solar_data_precursor.csv | ||
system_info_file_name: 100MW_1axis_pvsamv1.json | ||
lat: 36.605 | ||
lon: -97.485 | ||
elev: 318.0 | ||
|
||
# capacity: 100 # MW | ||
|
||
initial_conditions: | ||
|
||
power: 25 # MW | ||
dni: 1000 | ||
|
||
controller: | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.