dataset

package
v0.0.0-...-1accfa1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dataset

type Dataset struct {
	// contains filtered or unexported fields
}

func Load

func Load() (*Dataset, error)

func (*Dataset) FindInstance

func (ds *Dataset) FindInstance(name string) *Instance

func (*Dataset) FindRegion

func (ds *Dataset) FindRegion(name string) *Region

type Instance

type Instance struct {
	Name     string  `csv:"Instance type"`
	LoadIdle float32 `csv:"Instance @ Idle"`
	Load10   float32 `csv:"Instance @ 10%"`
	Load50   float32 `csv:"Instance @ 50%"`
	Load100  float32 `csv:"Instance @ 100%"`
}

type Region

type Region struct {
	Name    string  `csv:"Region"`
	Country string  `csv:"Country"`
	CO2e    float32 `csv:"CO2e (metric gram/kWh)"`
	PUE     float32 `csv:"PUE"`
}

Jump to

Keyboard shortcuts

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