Documentation ¶
Index ¶
- func NewAwattarFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewConfigurableFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewElectricityMapsFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewEleringFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewEnerginetFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewEntsoeFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewFixedFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewFromConfig(typ string, other map[string]interface{}) (v api.Tariff, err error)
- func NewGrünStromIndexFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewNgesoFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewOctopusFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewTibberFromConfig(other map[string]interface{}) (api.Tariff, error)
- type Awattar
- type CarbonIntensity
- type CarbonIntensitySlot
- type ElectricityMaps
- type Elering
- type Energinet
- type Entsoe
- type Fixed
- type GrünStromIndex
- type Ngeso
- type Octopus
- type Tariff
- type Tariffs
- type Tibber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAwattarFromConfig ¶
func NewEleringFromConfig ¶
func NewEnerginetFromConfig ¶
func NewEntsoeFromConfig ¶
func NewFromConfig ¶
NewFromConfig creates tariff from configuration
func NewOctopusFromConfig ¶
Types ¶
type Awattar ¶
type Awattar struct {
// contains filtered or unexported fields
}
func (*Awattar) Type ¶
func (t *Awattar) Type() api.TariffType
Type implements the api.Tariff interface
type CarbonIntensity ¶
type CarbonIntensity struct { Error string Zone string Forecast []CarbonIntensitySlot }
type CarbonIntensitySlot ¶
type ElectricityMaps ¶
func (*ElectricityMaps) Type ¶
func (t *ElectricityMaps) Type() api.TariffType
Type implements the api.Tariff interface
type Elering ¶
type Elering struct {
// contains filtered or unexported fields
}
func (*Elering) Type ¶
func (t *Elering) Type() api.TariffType
Type implements the api.Tariff interface
type Energinet ¶
type Energinet struct {
// contains filtered or unexported fields
}
func (*Energinet) Type ¶
func (t *Energinet) Type() api.TariffType
Type implements the api.Tariff interface
type Entsoe ¶
func (*Entsoe) Type ¶
func (t *Entsoe) Type() api.TariffType
Type implements the api.Tariff interface
type Fixed ¶
type Fixed struct {
// contains filtered or unexported fields
}
type GrünStromIndex ¶
type GrünStromIndex struct {
// contains filtered or unexported fields
}
func (*GrünStromIndex) Rates ¶
func (t *GrünStromIndex) Rates() (api.Rates, error)
Rates implements the api.Tariff interface
func (*GrünStromIndex) Type ¶
func (t *GrünStromIndex) Type() api.TariffType
Type implements the api.Tariff interface
type Ngeso ¶
type Ngeso struct {
// contains filtered or unexported fields
}
type Octopus ¶
type Octopus struct {
// contains filtered or unexported fields
}
func (*Octopus) Type ¶
func (t *Octopus) Type() api.TariffType
Type implements the api.Tariff interface
type Tariff ¶
type Tariff struct {
// contains filtered or unexported fields
}
func (*Tariff) Type ¶
func (t *Tariff) Type() api.TariffType
Type implements the api.Tariff interface
type Tariffs ¶
func NewTariffs ¶
func (*Tariffs) CurrentCo2 ¶
CurrentCo2 determines the grids co2 emission.
func (*Tariffs) CurrentFeedInPrice ¶
CurrentFeedInPrice returns the current feed-in price.
func (*Tariffs) CurrentGridPrice ¶
CurrentGridPrice returns the current grid price.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package entsoe implements a minimalized version of the European Network of Transmission System Operators for Electricity's Transparency Platform API (https://transparency.entsoe.eu)
|
Package entsoe implements a minimalized version of the European Network of Transmission System Operators for Electricity's Transparency Platform API (https://transparency.entsoe.eu) |
Package ngeso implements the carbonintensity.org.uk Grid CO2 tracking service, which provides CO2 forecasting for the UK at a national and regional level.
|
Package ngeso implements the carbonintensity.org.uk Grid CO2 tracking service, which provides CO2 forecasting for the UK at a national and regional level. |
Click to show internal directories.
Click to hide internal directories.