GenXProject / GenX.jl

GenX: a configurable power system capacity expansion model for studying low-carbon energy futures. More details at : https://genx.mit.edu
https://genxproject.github.io/GenX.jl/
GNU General Public License v2.0
269 stars 114 forks source link

Fix the bug in write_power_balance.jl related to VRE_STOR #682

Closed qluo0320github closed 5 months ago

qluo0320github commented 5 months ago

Description

write_power_balance.jl previously would allow VRE_STOR to overwrite charge and discharge from STOR. After the fix, write_power_balance.jl will add two more columns for VRE_STOR to separate them from STOR.

What type of PR is this? (check all applicable)

Related Tickets & Documents

Checklist

How this can be tested

Tested with the example system for VRE_STOR

Post-approval checklist for GenX core developers

After the PR is approved

lbonaldo commented 5 months ago

Thanks @qluo0320github for this fix!