PyPSA / pypsa-usa

PyPSA-USA: An Open-Source Energy System Optimization Model for the United States
https://pypsa-usa.readthedocs.io
MIT License
35 stars 15 forks source link

Add `generator.type` classification #65

Open trevorb1 opened 9 months ago

trevorb1 commented 9 months ago

Feature Request

Currently, costs are assigned at a per carrier level, rather than at a per generator type level.

For example, costs are collected for both CCGT and OCGT; however, when inputted into the model they are aggregated into a single gas technology. It would be good to properly assign generators using the generator.carrier as gas, and generator.type as either ccgt or ocgt.

While we probably don't want to go overboard on the amount of types in the model, ones like ccgt and ocgt are probably worth separating.

Separating coal into a tech with and without CCS is also discussed in this comment

Suggested Solution

Not necessary a solution, but here are some examples of where the ccgt and ocgt are being aggregated into a single gas technology

https://github.com/PyPSA/pypsa-usa/blob/6f37e32de0b19b349e6ba134e1bcfa0f48e5b93a/workflow/scripts/add_electricity.py#L223-L231

https://github.com/PyPSA/pypsa-usa/blob/6f37e32de0b19b349e6ba134e1bcfa0f48e5b93a/workflow/scripts/add_electricity.py#L1597-L1615

Additional Info

No response

trevorb1 commented 9 months ago

Check PyPSA-Eur implementation. They use the carrier tag for type, and currently doesn't use type

ktehranchi commented 9 months ago

I fixed the aggregation of CCGT and OCGT into gas within #56 ... but leaving this isssue open since we'll want to add more detailed info on generator "types"