generatorControllers

package
Version: v0.0.0-...-d72ca28 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExactTurbineId

func GetExactTurbineId(tId string) string

func GetNext10Min

func GetNext10Min(current time.Time) time.Time

func GetPowerCurve

func GetPowerCurve(ctx dbox.IConnection, avgWs float64) (float64, float64, float64)

func GetPowerCurveCubicInterpolation

func GetPowerCurveCubicInterpolation(ctx dbox.IConnection, _model string, avgws float64) (float64, error)

func GetTurbineNameListAll

func GetTurbineNameListAll(ctx dbox.IConnection, project string) (turbineNameData map[string]string, err error)

func PopulateValidPCDev

func PopulateValidPCDev(iconn dbox.IConnection, filter tk.M) (res tk.M)

Types

type DataAvailabilitySummary

type DataAvailabilitySummary struct {
	*BaseController
}

func (*DataAvailabilitySummary) ConvertDataAvailabilitySummary

func (ev *DataAvailabilitySummary) ConvertDataAvailabilitySummary(base *BaseController)

type DineuralProfile

type DineuralProfile struct {
	ID               string ` bson:"_id" , json:"_id" `
	Projectname      string
	Turbine          string
	MonthDesc        string
	MonthID          int
	Hours            string
	WindSpeedTotal   float64
	TemperatureTotal float64
	PowerTotal       float64
	WindSpeedCount   float64
	TemperatureCount float64
	Type             string
}

func (*DineuralProfile) TableName

func (m *DineuralProfile) TableName() string

type DineuralProfileSummary

type DineuralProfileSummary struct {
	*BaseController
}

func (*DineuralProfileSummary) CreateDineuralProfileSummary

func (ev *DineuralProfileSummary) CreateDineuralProfileSummary(base *BaseController)

type EventReduceAvailability

type EventReduceAvailability struct {
	*BaseController
}

func (*EventReduceAvailability) ConvertEventReduceAvailability

func (ev *EventReduceAvailability) ConvertEventReduceAvailability(base *BaseController)

type EventToAlarm

type EventToAlarm struct {
	*BaseController
}

func (*EventToAlarm) ConvertEventToAlarm

func (ev *EventToAlarm) ConvertEventToAlarm(base *BaseController)

type FetchMet

type FetchMet struct {
	ID              string ` bson:"_id" , json:"_id" `
	Projectname     string
	Timestamp       time.Time
	DateInfo        DateInfo
	Windspeedbin    float64
	Vhubws90mavg    float64
	Vhubws90mstddev float64
}

type FetchScada

type FetchScada struct {
	ID                  string ` bson:"_id" , json:"_id" `
	Projectname         string
	Turbine             string
	Timestamp           time.Time
	DateInfo            DateInfo
	Windspeed_ms_bin    float64
	Windspeed_ms        float64
	Windspeed_ms_stddev float64
}

type GenAlarmSummary

type GenAlarmSummary struct {
	*BaseController
}

func (*GenAlarmSummary) Generate

func (d *GenAlarmSummary) Generate(base *BaseController)

type GenDataPeriod

type GenDataPeriod struct {
	*BaseController
}

func (*GenDataPeriod) Generate

func (d *GenDataPeriod) Generate(base *BaseController)

func (*GenDataPeriod) GenerateMinify

func (d *GenDataPeriod) GenerateMinify(base *BaseController)

type GenDataWindDistribution

type GenDataWindDistribution struct {
	*BaseController
}

func (*GenDataWindDistribution) GenerateCurrentMonth

func (d *GenDataWindDistribution) GenerateCurrentMonth(base *BaseController)

type GenScadaLast24

type GenScadaLast24 struct {
	*BaseController
}

func (*GenScadaLast24) Generate

func (d *GenScadaLast24) Generate(base *BaseController)

type GenScadaSummary

type GenScadaSummary struct {
	*BaseController
	sync.RWMutex
}

func (*GenScadaSummary) GenWFAnalysisByProject

func (d *GenScadaSummary) GenWFAnalysisByProject(base *BaseController)

func (*GenScadaSummary) GenWFAnalysisByTurbine1

func (d *GenScadaSummary) GenWFAnalysisByTurbine1(base *BaseController)

func (*GenScadaSummary) GenWFAnalysisByTurbine2

func (d *GenScadaSummary) GenWFAnalysisByTurbine2(base *BaseController)

func (*GenScadaSummary) Generate

func (d *GenScadaSummary) Generate(base *BaseController)

func (*GenScadaSummary) GenerateSummaryByFleet

func (d *GenScadaSummary) GenerateSummaryByFleet(base *BaseController)

func (*GenScadaSummary) GenerateSummaryByMonthUsingDaily

func (d *GenScadaSummary) GenerateSummaryByMonthUsingDaily(base *BaseController)

func (*GenScadaSummary) GenerateSummaryByProject

func (d *GenScadaSummary) GenerateSummaryByProject(base *BaseController)

func (*GenScadaSummary) GenerateSummaryByProjectUsingDaily

func (d *GenScadaSummary) GenerateSummaryByProjectUsingDaily(base *BaseController)

func (*GenScadaSummary) GenerateSummaryDaily

func (d *GenScadaSummary) GenerateSummaryDaily(base *BaseController)

type LatestTrendLine

type LatestTrendLine struct {
	ID          string ` bson:"_id" , json:"_id" `
	Projectname string
	LastUpdate  time.Time
	Type        string
}

func (*LatestTrendLine) TableName

func (m *LatestTrendLine) TableName() string

type LatestTurbulence

type LatestTurbulence struct {
	ID          string ` bson:"_id" , json:"_id" `
	Projectname string
	LastUpdate  time.Time
	Type        string
}

func (*LatestTurbulence) TableName

func (m *LatestTurbulence) TableName() string

type LatestTurbulenceRaw

type LatestTurbulenceRaw struct {
	ID          string ` bson:"_id" , json:"_id" `
	Projectname string
	LastUpdate  time.Time
	Type        string
}

func (*LatestTurbulenceRaw) TableName

func (m *LatestTurbulenceRaw) TableName() string

type OemPCValue

type OemPCValue struct {
	PCValue float64
	IsCalc  bool
}

type TrendLinePlotSummary

type TrendLinePlotSummary struct {
	*BaseController
}

func (*TrendLinePlotSummary) CreateTrendLinePlotSummary

func (ev *TrendLinePlotSummary) CreateTrendLinePlotSummary(base *BaseController)

type TurbulenceIntensity

type TurbulenceIntensity struct {
	ID                string ` bson:"_id" , json:"_id" `
	Projectname       string
	Turbine           string
	Timestamp         time.Time
	WindspeedBin      float64
	WindSpeedTotal    float64
	WindSpeedStdTotal float64
	WindSpeedCount    float64
	WindSpeedStdCount float64
	Type              string
}

func (*TurbulenceIntensity) TableName

func (m *TurbulenceIntensity) TableName() string

type TurbulenceIntensityGenerator

type TurbulenceIntensityGenerator struct {
	*BaseController
}

func (*TurbulenceIntensityGenerator) CreateTurbulenceIntensity10Min

func (ev *TurbulenceIntensityGenerator) CreateTurbulenceIntensity10Min(base *BaseController)

type TurbulenceIntensityRaw

type TurbulenceIntensityRaw struct {
	ID              string ` bson:"_id" , json:"_id" `
	Projectname     string
	Turbine         string
	Timestamp       time.Time
	DateInfo        DateInfo
	WindspeedBin    float64
	WindSpeed       float64
	WindSpeedStdDev float64
	Type            string
}

func (*TurbulenceIntensityRaw) TableName

func (m *TurbulenceIntensityRaw) TableName() string

type TurbulenceIntensitySummary

type TurbulenceIntensitySummary struct {
	*BaseController
}

func (*TurbulenceIntensitySummary) CreateTurbulenceIntensitySummary

func (ev *TurbulenceIntensitySummary) CreateTurbulenceIntensitySummary(base *BaseController)

type UpdateOEMToScada

type UpdateOEMToScada struct {
	*BaseController
}

func (*UpdateOEMToScada) RunMapping

func (u *UpdateOEMToScada) RunMapping(base *BaseController)

type UpdateScadaMinutes

type UpdateScadaMinutes struct {
	*BaseController
}

UpdateScadaMinutes

func (*UpdateScadaMinutes) Generate

func (d *UpdateScadaMinutes) Generate(base *BaseController)

Generate

func (*UpdateScadaMinutes) GenerateDensity

func (d *UpdateScadaMinutes) GenerateDensity(base *BaseController)

type UpdateScadaOemMinutes

type UpdateScadaOemMinutes struct {
	*BaseController
}

UpdateScadaMinutes

func (*UpdateScadaOemMinutes) GenerateDensity

func (d *UpdateScadaOemMinutes) GenerateDensity(base *BaseController)

func (*UpdateScadaOemMinutes) UpdateDeviation

func (d *UpdateScadaOemMinutes) UpdateDeviation(base *BaseController)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL