You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Example_Systems/RealSystemExample/ISONE_Trizone/Settings/genx_settings.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ OverwriteResults: 0 # Overwrite existing results in output folder or create a ne
3
3
PrintModel: 0# Write the model formulation as an output; 0 = active; 1 = not active
4
4
NetworkExpansion: 1# Transmission network expansionl; 0 = not active; 1 = active systemwide
5
5
Trans_Loss_Segments: 1# Number of segments used in piecewise linear approximation of transmission losses; 1 = linear, >2 = piecewise quadratic
6
-
Reserves: 0# Regulation (primary) and operating (secondary) reserves; 0 = not active, 1 = active systemwide
6
+
Reserves: 1# Regulation (primary) and operating (secondary) reserves; 0 = not active, 1 = active systemwide
7
7
EnergyShareRequirement: 1# Minimum qualifying renewables penetration; 0 = not active; 1 = active systemwide
8
8
CapacityReserveMargin: 1# Number of capacity reserve margin constraints; 0 = not active; 1 = active systemwide
9
9
CO2Cap: 1# CO2 emissions cap; 0 = not active (no CO2 emission limit); 1 = mass-based emission limit constraint; 2 = load + rate-based emission limit constraint; 3 = generation + rate-based emission limit constraint
@@ -12,7 +12,7 @@ MinCapReq: 1 # Activate minimum technology carveout constraints; 0 = not active
12
12
Solver: Clp # Available solvers: Gurobi, CPLEX, CLP, CBC
13
13
ParameterScale: 1# Turn on parameter scaling wherein load, capacity and power variables are defined in GW rather than MW. 0 = not active; 1 = active systemwide
14
14
WriteShadowPrices: 1# Write shadow prices of LP or relaxed MILP; 0 = not active; 1 = active
15
-
UCommit: 0# Unit committment of thermal power plants; 0 = not active; 1 = active using integer clestering; 2 = active using linearized clustering
15
+
UCommit: 2# Unit committment of thermal power plants; 0 = not active; 1 = active using integer clestering; 2 = active using linearized clustering
16
16
OperationWrapping: 1# Sets temporal resolution of the model; 0 = single period to represent the full year, with first-last time step linked; 1 = multiple representative periods
17
17
LongDurationStorage: 0# Inter-period energy exchange for storage technologies; 0 = not active; 1 = active systemwide
18
18
TimeDomainReductionFolder: "TDR_Results"# Directory name where results from time domain reduction will be saved. If results already exist here, these will be used without running time domain reduction script again.
Copy file name to clipboardExpand all lines: Example_Systems/RealSystemExample/ISONE_Trizone_FullTimeseries/Settings/genx_settings.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ CapacityReserveMargin: 1 # Number of capacity reserve margin constraints; 0 = no
9
9
CO2Cap: 1# CO2 emissions cap; 0 = not active (no CO2 emission limit); 1 = mass-based emission limit constraint; 2 = load + rate-based emission limit constraint; 3 = generation + rate-based emission limit constraint
10
10
StorageLosses: 1# Energy Share Requirement and CO2 constraints account for energy lost; 0 = not active (DO NOT account for energy lost); 1 = active systemwide (DO account for energy lost)
11
11
MinCapReq: 1# Activate minimum technology carveout constraints; 0 = not active; 1 = active
12
-
Solver: Gurobi# Available solvers: Gurobi, CPLEX, CLPs
12
+
Solver: Clp# Available solvers: Gurobi, CPLEX, CLPs
13
13
ParameterScale: 1# Turn on parameter scaling wherein load, capacity and power variables are defined in GW rather than MW. 0 = not active; 1 = active systemwide
14
14
WriteShadowPrices: 1# Write shadow prices of LP or relaxed MILP; 0 = not active; 1 = active
15
15
UCommit: 0# Unit committment of thermal power plants; 0 = not active; 1 = active using integer clestering; 2 = active using linearized clustering
Copy file name to clipboardExpand all lines: README.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,10 @@ The 'main' branch is the current master branch of GenX. The various subdirectori
23
23
24
24
## Requirements
25
25
26
-
GenX.jl runs on Julia v1.3.x series, where x>=0 and a minimum version of JuMP v0.21.3, and is currently setup to use one of the following open-source freely available solvers: A) [Clp](https://github.com/jump-dev/Clp.jl) for linear programming (LP) problems and (B) [Cbc](https://github.com/jump-dev/Cbc.jl) for mixed integer linear programming (MILP) problems. We also provide the option to use one of these two commercial solvers: C) [Gurobi](https://www.gurobi.com), and D) [CPLEX](https://www.ibm.com/analytics/cplex-optimizer). Note that using Gurobi and CPLEX requires a valid license on the host machine. There are two ways to run GenX with either type of solver options (open-source free or, licensed commercial) as detailed in the section, `Running an Instance of GenX`.
26
+
GenX currently exists in version 0.1.0 and runs only on Julia v1.6.x and v1.5.x series, where x>=0 and a minimum version of JuMP v0.21.x. There is also an older version of GenX, which is also currently maintained and runs on Julia 1.3.x and 1.4.x series (For those users who has previously cloned GenX, and has been running it successfully so far, and therefore might be unwilling to run it on the latest version of Julia: please look into the GitHub branch, [old_version](https://github.com/GenXProject/GenX/tree/old_version)). It is currently setup to use one of the following open-source freely available solvers: A) [Clp](https://github.com/jump-dev/Clp.jl) for linear programming (LP) problems and (B) [Cbc](https://github.com/jump-dev/Cbc.jl) for mixed integer linear programming (MILP) problems. We also provide the option to use one of these two commercial solvers: C) [Gurobi](https://www.gurobi.com), and D) [CPLEX](https://www.ibm.com/analytics/cplex-optimizer). Note that using Gurobi and CPLEX requires a valid license on the host machine. There are two ways to run GenX with either type of solver options (open-source free or, licensed commercial) as detailed in the section, `Running an Instance of GenX`.
27
27
28
28
The file `julenv.jl` in the parent directory lists all of the packages and their versions needed to run GenX. You can see all of the packages installed in your Julia environment and their version numbers by running `pkg> status` on the package manager command line in the Jula REPL.
29
29
30
-
You can see all of the packages installed in your Julia environment and their version numbers by running pkg> status on the package manager command line.
31
-
32
30
## Documentation
33
31
34
32
Detailed documentation for GenX can be found [here](https://genxproject.github.io/GenX/dev). It includes details of each of GenX's methods, required and optional input files, and outputs. Interested users may also want to browse through prior publications that have used GenX to understand the various features of the tool. Full publication list is available [here](https://energy.mit.edu/genx/#publications).
@@ -56,28 +54,28 @@ Here are step-by-step instructions for running Run.jl, following the two slightl
56
54
57
55
Execution of the entire sequence of the four steps above should look like the figure below:
58
56
59
-

57
+

60
58
*Figure.Creating the Julia environment and installing dependencies from Project.toml file from inside the GenX folder: Steps 1-4*
61
59
62
60
5. Type the back key to come back to the `julia>` prompt.
63
61
6. Run the script by executing the command `julia> include(“<path to your case>/Run.jl”)`. For example, in order to run the ISONE_Singlezone case within the Example_Systems/RealSystemExample/, type `include("Example_Systems/RealSystemExample/ISONE_Singlezone/Run.jl")` from the `julia>` prompt (while being still in the GenX i.e. the root level in the folder hierarchy)
64
62
65
63
Execution of the steps 5 and 6 above should look like the figure below:
66
64
67
-

65
+

68
66
*Figure.Creating the Julia environment and installing dependencies from Project.toml file from inside the GenX folder: Steps 5-6*
69
67
70
68
7. After the script runs to completion, results will be written to a folder called “Results”, also located in the same directory as `Run.jl`.
71
69
72
70
If however, the user opens a julia kernel, while not yet inside the GenX folder, it's still possible to reach to the GenX folder while being inside the Julia REPL by executing the `pwd()` command first to check where on the directory structure the user is currently, and then by executing the `cd(<path to GenX>)` command. Afterwards, the steps are the same as above. This is shown in the three figures below:
73
71
74
-

72
+

75
73
*Figure.Creating the Julia environment and installing dependencies from Project.toml file from inside the GenX folder: Changing path to GenX*
76
74
77
-

75
+

78
76
*Figure.Creating the Julia environment and installing dependencies from Project.toml file from inside the GenX folder: Steps 1-4*
79
77
80
-

78
+

81
79
*Figure.Creating the Julia environment and installing dependencies from Project.toml file from inside the GenX folder: Steps 5-6*
82
80
83
81
### Method 2: Creating the Julia environment and installing the dependencies by building the Project.toml files by running activation script
0 commit comments