natgridapi

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DFSRequirementResponseDto

type DFSRequirementResponseDto struct {
	Help    string                  `json:"help"`
	Success bool                    `json:"success"`
	Result  DFSRequirementResultDto `json:"result"`
}

type DFSRequirementResultDto

type DFSRequirementResultDto struct {
	Records []DFSRequirementResultRecordsDto `json:"records"`
	Sql     string                           `json:"sql"`
}

type DFSRequirementResultRecordsDto

type DFSRequirementResultRecordsDto struct {
	AcceptancePriceGBPPerMWh string `json:"Guaranteed Acceptance Price GBP per MWh"`
	From                     string `json:"From"`
	DeliveryDate             string `json:"Delivery Date"`
	DespatchType             string `json:"Despatch Type"`
	DFSRequestedMW           int    `json:"DFS Required MW"`
	To                       string `json:"To"`
	ServiceRequirementType   string `json:"Service Requirement Type"`
	Id                       int    `json:"_id"`
	ParticipaentBidsEligible string `json:"Participant Bids Eligible"`
}

type DFSRequrement

type DFSRequrement struct {
	Id                       int
	AcceptancePriceGBPPerMWh int
	RequestedMW              int
	DispatchType             string
	ServiceRequirementType   string
	EligibleSuppliers        []string
	From                     time.Time
	To                       time.Time
}

func GetDFSRequirementsForSupplier

func GetDFSRequirementsForSupplier(supplierName string) []DFSRequrement

func GetDemandFlexibilityServiceRequirements

func GetDemandFlexibilityServiceRequirements() []DFSRequrement

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL