-
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.
Add support for EnergyModelsInvestments as extension (#34)
* Moved EMB specifics to EMB: - AbstractInvestmentModel is now introduced in EMB - InvestmentData is now introduced in EMB - Moved legacy constructors to EMB extension - Implement EMI.has_investment in extension (do not define new function) * Lower bound julia to 1.9 due to weak dependencies * Removal of nightly due to issues in Mocking.jl * Documentation - Provide consistent labels to all headings - Updated the documentation for EMI through Investments section - Included DocumenterInterLinks * Several minor fixes --------- Co-authored-by: Julian Straus <[email protected]>
- Loading branch information
Showing
52 changed files
with
2,590 additions
and
1,436 deletions.
There are no files selected for viewing
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,14 @@ | ||
# Configuration file for JuliaFormatter.jl | ||
# For more information, see: https://domluna.github.io/JuliaFormatter.jl/stable/config/ | ||
|
||
always_for_in = true | ||
for_in_replacement = "∈" | ||
always_use_return = false | ||
margin = 92 | ||
remove_extra_newlines = true | ||
short_to_long_function_def = false | ||
align_assignment = true | ||
align_struct_field = false | ||
align_conditional = true | ||
align_pair_arrow = true | ||
join_lines_based_on_source = true |
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
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
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 |
---|---|---|
@@ -1,13 +1,22 @@ | ||
name = "EnergyModelsBase" | ||
uuid = "5d7e687e-f956-46f3-9045-6f5a5fd49f50" | ||
authors = ["Lars Hellemo <[email protected]>, Julian Straus <[email protected]>"] | ||
version = "0.7.0" | ||
version = "0.8.0" | ||
|
||
[deps] | ||
JuMP = "4076af6c-e467-56ae-b986-b466b2749572" | ||
SparseVariables = "2749762c-80ed-4b14-8f33-f0736679b02b" | ||
TimeStruct = "f9ed5ce0-9f41-4eaa-96da-f38ab8df101c" | ||
|
||
[weakdeps] | ||
EnergyModelsInvestments = "fca3f8eb-b383-437d-8e7b-aac76bb2004f" | ||
|
||
[extensions] | ||
EMIExt = "EnergyModelsInvestments" | ||
|
||
[compat] | ||
JuMP = "^0.23, 1" | ||
julia = "^1.6" | ||
EnergyModelsInvestments = "0.7" | ||
JuMP = "1" | ||
SparseVariables = "0.7.3" | ||
TimeStruct = "^0.8" | ||
julia = "1.9" |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656" | ||
EnergyModelsBase = "5d7e687e-f956-46f3-9045-6f5a5fd49f50" | ||
EnergyModelsInvestments = "fca3f8eb-b383-437d-8e7b-aac76bb2004f" | ||
JuMP = "4076af6c-e467-56ae-b986-b466b2749572" | ||
TimeStruct = "f9ed5ce0-9f41-4eaa-96da-f38ab8df101c" |
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
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
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
Oops, something went wrong.