diff --git a/scripts/portfolio_test.jl b/scripts/portfolio_test.jl index bc707bc..51e9c3f 100644 --- a/scripts/portfolio_test.jl +++ b/scripts/portfolio_test.jl @@ -21,7 +21,6 @@ p = Portfolio(0.07) t = SupplyTechnology{ThermalStandard}( "thermal_tech", true, - ThermalStandard, PSY.ThermalFuels.COAL, PSY.PrimeMovers.ST, 0.98, # cap factor @@ -39,3 +38,4 @@ get_technologies(SupplyTechnology{ThermalStandard}, p) PSIP.remove_technology!(SupplyTechnology{ThermalStandard}, p, "thermal_tech") get_available(t) +IS.deserialize(p) diff --git a/test/Project.toml b/test/Project.toml index 4d450b6..5de27b8 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -3,6 +3,7 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" InfrastructureSystems = "2cd47ed4-ca9b-11e9-27f2-ab636a7671f1" PowerSystems = "bcd98974-b02a-5e2f-9ee0-a103f5c450dd" PowerSystemsInvestmentsPortfolios = "bed98974-b02a-5e2f-9fe0-a103f8c450dd" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] julia = "^1.6"