energy_data_retrieval.gas_catalogue.ons#

ONS nominal generating-unit inventory; gas-only, conservative boundary staging.

Attribution: Operador Nacional do Sistema Elétrico (ONS), CC-BY as stated on the dataset page. No natural-gas subtype or turbine technology is inferred.

energy_data_retrieval.gas_catalogue.ons.parse_ons(text, *, source_id, now, observed, states)[source]#

Stage exact equipment identities, holding mixed fuels and unknown boundaries.

observed is the actual daily inventory revision, not retrieval time. All accepted units remain non-additive until plant/block reconciliation. ONS’s dictionary defines blank deactivation as active. Commercial-operation release is retained separately and does not become a commissioning date.

Parameters:
  • text (str)

  • source_id (str)

  • now (str)

  • observed (str)

  • states (set[str])

Return type:

tuple[list[dict[str, Any]], list[dict[str, Any]]]