Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving indexing of solar weather file based on dt in input .yaml file #111

Merged
merged 17 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ helics_broker -t zmq -f 2 --loglevel="debug" --local_port=$HELICS_PORT &
# Start the controller center and pass in input file
echo "Starting hercules"
# python3 hercules_runscript.py hercules_input_000.yaml >> outputs/loghercules.log 2>&1 &
python3 hercules_runscript.py hercules_controller_input_000.yaml >> outputs/loghercules.log 2>&1 &
# python3 hercules_runscript.py hercules_controller_input_000.yaml >> outputs/loghercules.log 2>&1 &
# python3 hercules_runscript.py hercules_input_OK_ARM.yaml >> outputs/loghercules.log 2>&1 &
python3 hercules_runscript.py hercules_input_Flatirons.yaml >> outputs/loghercules.log 2>&1 &

# Start the floris standin
echo "Starting floris"
Expand Down
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:







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:







Loading
Loading