generated from NREL-Sienna/SiennaTemplate.jl
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
84 additions
and
22 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: CrossPackageTest | |
|
||
on: | ||
push: | ||
branches: [master] | ||
branches: [main] | ||
tags: [v*] | ||
pull_request: | ||
|
||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Format Check | |
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'main' | ||
- 'release-' | ||
tags: '*' | ||
pull_request: | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
module PowerSystemsInvestmentsPortfolios | ||
|
||
import InfrastructureSystems | ||
import PowerSystems | ||
|
||
export Portfolio | ||
export SupplyTechnology | ||
export TransportTechnology | ||
export DemandTechnology | ||
|
||
const PSY = PowerSystems | ||
const IS = InfrastructureSystems | ||
|
||
include("demand.jl") | ||
include("supply.jl") | ||
include("transport.jl") | ||
include("storage.jl") | ||
include("portfolio.jl") | ||
|
||
using DocStringExtensions | ||
|
||
@template (FUNCTIONS, METHODS) = """ | ||
$(TYPEDSIGNATURES) | ||
$(DOCSTRING) | ||
""" | ||
|
||
end |
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
struct DemandTechnology{T <: PSY.Device} <: IS.Component | ||
name::String | ||
power_systems_type::PSY.Device | ||
capital_cost::Float64 | ||
ext::Dict{String, Any} | ||
time_series_container::InfrastructureSystems.TimeSeriesContainer | ||
internal::InfrastructureSystemsInternal | ||
end |
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,6 @@ | ||
struct Portfolio <: IS.InfrastructureSystemsType | ||
aggregation::Type{<: Union{PSY.ACBus, PSY.AggregationTopology}} | ||
discount_rate::Float64 | ||
data::IS.SystemData | ||
time_series_container::InfrastructureSystems.TimeSeriesContainer | ||
end |
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,12 @@ | ||
struct StorageTechnology{T <: PSY.Storage} <: IS.Component | ||
name::String | ||
power_systems_type::PSY.Device | ||
capital_cost::Float64 | ||
battery_chemistry::String # Implement Chemistry Type Enums in PowerSystems | ||
prime_mover::PSY.Primer_mover | ||
capital_cost::Float64 | ||
operational_cost::PSY.OperationalCost | ||
ext::Dict{String, Any} | ||
time_series_container::InfrastructureSystems.TimeSeriesContainer | ||
internal::InfrastructureSystemsInternal | ||
end |
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,12 @@ | ||
struct SupplyTechnology{T <: PSY.Device} <: IS.Component | ||
name::String | ||
power_systems_type::Type{T} | ||
fuel::PSY.ThermalFuels | ||
prime_mover::PSY.Primer_mover | ||
capacity_factor::Float64 | ||
capital_cost::Float64 | ||
operational_cost::PSY.OperationalCost | ||
ext::Dict{String, Any} | ||
time_series_container::InfrastructureSystems.TimeSeriesContainer | ||
internal::InfrastructureSystemsInternal | ||
end |
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,8 @@ | ||
struct TransportTechnology{T <: PSY.Device} <: IS.Component | ||
name::String | ||
power_systems_type::Type{T} | ||
capital_cost::Float64 | ||
ext::Dict{String, Any} | ||
time_series_container::InfrastructureSystems.TimeSeriesContainer | ||
internal::InfrastructureSystemsInternal | ||
end |