Skip to content

Prune PSY types #82

@luke-kiernan

Description

@luke-kiernan

IOM should be component-neutral, as much as possible. Eliminate PSY types where possible. Looking through, common oppotunities:

Category 1: types we can broaden.

  • PSY.Component -> IS.InfrastructureSystemsComponent
  • PSY.System -> IS.InfrastructureSystemsContainer

Category 2: present in IS, but we're using the PSY prefix here and there.

  • UnitSystem and its subtypes
  • function data types: PiecewiseLinearData
  • value curve types:
  • TimeSeriesData

The worst offenders are in /src/utils/powersystems_utils.jl.

Seemingly unavoidable:

  • Components: ACBus (network model), HVDC, Service, Contingency, ThermalGen (must run checks)
  • Cost related: MBC/IEC cost structs, OperationalCost (only supertype: DeviceParameter)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions