Documentation
¶
Overview ¶
Package omiedata provides access to OMIE (Iberian Electricity Market Operator) data.
This library allows you to download and parse electricity market data from the OMIE website, including marginal prices and energy by technology for Spain and Portugal.
Basic usage example:
importer := omiedata.NewMarginalPriceImporter()
data, err := importer.ImportSingleDate(ctx, time.Now().AddDate(0, 0, -1))
if err != nil {
log.Fatal(err)
}
// Use data...
Index ¶
Constants ¶
System type constants
const ( Coal = types.Coal FuelGas = types.FuelGas SelfProducer = types.SelfProducer Nuclear = types.Nuclear Hydro = types.Hydro CombinedCycle = types.CombinedCycle Wind = types.Wind ThermalSolar = types.ThermalSolar PhotovoltaicSolar = types.PhotovoltaicSolar Residuals = types.Residuals Import = types.Import ImportWithoutMIBEL = types.ImportWithoutMIBEL )
Technology type constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnergyByTechnologyImporter ¶
type EnergyByTechnologyImporter = importers.EnergyByTechnologyImporter
Re-export key types for easier access
func NewEnergyByTechnologyImporter ¶
func NewEnergyByTechnologyImporter(systemType SystemType) *EnergyByTechnologyImporter
NewEnergyByTechnologyImporter creates a new energy by technology importer with default settings
func NewEnergyByTechnologyImporterWithOptions ¶
func NewEnergyByTechnologyImporterWithOptions(systemType SystemType, options ImportOptions) *EnergyByTechnologyImporter
NewEnergyByTechnologyImporterWithOptions creates a new energy by technology importer with custom options
type MarginalPriceImporter ¶
type MarginalPriceImporter = importers.MarginalPriceImporter
Importers
func NewMarginalPriceImporter ¶
func NewMarginalPriceImporter() *MarginalPriceImporter
NewMarginalPriceImporter creates a new marginal price importer with default settings
func NewMarginalPriceImporterWithOptions ¶
func NewMarginalPriceImporterWithOptions(options ImportOptions) *MarginalPriceImporter
NewMarginalPriceImporterWithOptions creates a new marginal price importer with custom options
type TechnologyEnergy ¶
type TechnologyEnergy = types.TechnologyEnergy
Re-export key types for easier access
type TechnologyEnergyDay ¶
type TechnologyEnergyDay = types.TechnologyEnergyDay
Re-export key types for easier access
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
average-price
command
|
|
|
energy-by-technology
command
|
|
|
marginal-price
command
|
|