Skip to content

Commit

Permalink
Update openTEPES.py
Browse files Browse the repository at this point in the history
  • Loading branch information
erikfilias committed Apr 21, 2021
1 parent e535917 commit 005edd6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openTEPES/openTEPES.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from pyomo.environ import ConcreteModel, Set

from openTEPES.openTEPES_InputData import InputData
from openTEPES.openTEPES_InputData import InputData, SettingUpVariables
from openTEPES.openTEPES_ModelFormulation import InvestmentModelFormulation, GenerationOperationModelFormulation, NetworkSwitchingModelFormulation, NetworkOperationModelFormulation
from openTEPES.openTEPES_ProblemSolving import ProblemSolving
from openTEPES.openTEPES_OutputResults import InvestmentResults, GenerationOperationResults, ESSOperationResults, FlexibilityResults, NetworkOperationResults, MarginalResults, EconomicResults, NetworkMapResults
Expand All @@ -24,8 +24,12 @@ def openTEPES_run(DirName, CaseName, SolverName):

pIndLogConsole = 1

# Define sets and parameters
InputData(DirName, CaseName, mTEPES)

# Define variables
SettingUpVariables(mTEPES, mTEPES)

# investment model objective function
InvestmentModelFormulation(mTEPES, mTEPES, pIndLogConsole)

Expand Down

0 comments on commit 005edd6

Please sign in to comment.