-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
pbs/arbcapcontracted_nodeg/simulate_arbcapcontracted_nodeg_actual.pbs
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,11 @@ | ||
#!/bin/bash | ||
|
||
#PBS -l select=1:ncpus=16:mem=60gb | ||
#PBS -l walltime=12:00:00 | ||
#PBS -M [email protected] | ||
#PBS -m ae | ||
|
||
module add julia/1.8.2-ilp64 | ||
julia -e 'using Pkg;Pkg.activate("NEMStorageUnderUncertainty");Pkg.instantiate()' | ||
julia --project="NEMStorageUnderUncertainty" -- NEMStorageUnderUncertainty/simulations/arbitrage_capcontracted_no_degradation/simulate_actual.jl $power $energy $cap | ||
echo "Submitted ArbCapContracted Actual $power MW $energy MWh $cap Cap MW" |
11 changes: 11 additions & 0 deletions
11
pbs/arbcapcontracted_nodeg/simulate_arbcapcontracted_nodeg_forecast.pbs
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,11 @@ | ||
#!/bin/bash | ||
|
||
#PBS -l select=1:ncpus=16:mem=60gb | ||
#PBS -l walltime=12:00:00 | ||
#PBS -M [email protected] | ||
#PBS -m ae | ||
|
||
module add julia/1.8.2-ilp64 | ||
julia -e 'using Pkg;Pkg.activate("NEMStorageUnderUncertainty");Pkg.instantiate()' | ||
julia --project="NEMStorageUnderUncertainty" -- NEMStorageUnderUncertainty/simulations/arbitrage_capcontracted_no_degradation/simulate_forecast.jl $power $energy $cap | ||
echo "Submitted ArbCapContracted Forecast $power MW $energy MWh $cap Cap MW" |
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,24 @@ | ||
#!/bin/sh | ||
|
||
# Simulate 4 different degrees of cap contracting | ||
# 0% of power rating (equivalent to arbthroughputpenalty with penalty of 500,000 AUD/MWh) | ||
# 50% of power rating | ||
# 100% of power rating | ||
# 200% of power rating | ||
|
||
for energy in 100 | ||
do | ||
for cap_frac in 0.0 0.5 1.0 2.0 | ||
do | ||
for powerratio in 0.125 0.25 0.5 1 2 4 8 | ||
do | ||
power=$(echo "$energy*$powerratio" | bc -l) | ||
cap=$(echo "$power*$cap_frac$" | bc -l) | ||
for file in pbs/arbcapcontracted_nodeg/* | ||
do | ||
qsub -v "power=$power,energy=$energy,cap=$cap" $file | ||
sleep 30s | ||
done | ||
done | ||
done | ||
done |