Skip to content

Commit

Permalink
Update openTEPES_InputData.py
Browse files Browse the repository at this point in the history
  • Loading branch information
erikfilias committed Oct 19, 2024
1 parent 3db47d5 commit 262e646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openTEPES/openTEPES_InputData.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ def Create_ESS_RES_Sets(mTEPES) -> None:
pMaxPowerHeat = pd.DataFrame([[pMaxPowerElec [ch][p,sc,n]/pPower2HeatRatio[ch] for ch in mTEPES.ch] for p,sc,n in mTEPES.psn], index=pd.MultiIndex.from_tuples(mTEPES.psn), columns=mTEPES.ch)
pMinPowerHeat.update(pd.DataFrame([[pRatedMinPowerHeat[bo] for bo in mTEPES.bo] for p,sc,n in mTEPES.psn], index=pd.MultiIndex.from_tuples(mTEPES.psn), columns=mTEPES.bo))
pMaxPowerHeat.update(pd.DataFrame([[pRatedMaxPowerHeat[bo] for bo in mTEPES.bo] for p,sc,n in mTEPES.psn], index=pd.MultiIndex.from_tuples(mTEPES.psn), columns=mTEPES.bo))
pMaxPowerHeat.update(pd.DataFrame([[pMaxCharge[p,sc,n,hp]/mTEPES.pProductionFunctionHeat[hp] for hp in mTEPES.hp] for p,sc,n in mTEPES.psn], index=pd.MultiIndex.from_tuples(mTEPES.psn), columns=mTEPES.hp))
pMaxPowerHeat.update(pd.DataFrame([[pMaxCharge[hp][p,sc,n]/pProductionFunctionHeat[hp] for hp in mTEPES.hp] for p,sc,n in mTEPES.psn], index=pd.MultiIndex.from_tuples(mTEPES.psn), columns=mTEPES.hp))

# drop values not par, p, or ps
pReserveMargin = pReserveMargin.loc [mTEPES.par]
Expand Down

0 comments on commit 262e646

Please sign in to comment.