totalnitrogen

package
v0.0.0-...-c864ae1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VariableName = "TotalNitrogen"

	ProportionOfRiparianVegetation             = "ProportionOfRiparianVegetation"
	RiparianDissolvedNitrogenRemovalEfficiency = "RiparianDissolvedNitrogenRemovalEfficiency"
	WetlandsDissolvedNitrogenRemovalEfficiency = "WetlandsDissolvedNitrogenRemovalEfficiency"
	RiparianNitrogenContribution               = "RiparianNitrogenContribution"
	GullyNitrogenContribution                  = "GullyNitrogenContribution"
	HillSlopeNitrogenContribution              = "HillSlopeNitrogenContribution"
)

Variables

This section is empty.

Functions

func Float64ToSubCatchmentId

func Float64ToSubCatchmentId(value float64) planningunit.Id

Types

type TotalNitrogenProduction

type TotalNitrogenProduction struct {
	variable.PerPlanningUnitDecisionVariable
	variable.Bounds

	catchmentActions.Container

	LastUpdated string
	// contains filtered or unexported fields
}

func (*TotalNitrogenProduction) ApplyDoneValue

func (tn *TotalNitrogenProduction) ApplyDoneValue()

func (*TotalNitrogenProduction) ApplyUndoneValue

func (tn *TotalNitrogenProduction) ApplyUndoneValue()

func (*TotalNitrogenProduction) DifferenceInValues

func (tn *TotalNitrogenProduction) DifferenceInValues() float64

func (*TotalNitrogenProduction) Initialise

func (tn *TotalNitrogenProduction) Initialise(subCatchmentsTable tables.CsvTable, actionsTable tables.CsvTable, parameters catchmentParameters.Parameters) *TotalNitrogenProduction

func (*TotalNitrogenProduction) NotifyObservers

func (tn *TotalNitrogenProduction) NotifyObservers()

NotifyObservers allows structs embedding a BaseInductiveDecisionVariable to trigger a notification of change to any observers watching for state changes to the variableOld.

func (*TotalNitrogenProduction) ObserveAction

func (tn *TotalNitrogenProduction) ObserveAction(action action.ManagementAction)

func (*TotalNitrogenProduction) ObserveActionInitialising

func (tn *TotalNitrogenProduction) ObserveActionInitialising(action action.ManagementAction)

func (*TotalNitrogenProduction) SetUndoableValue

func (tn *TotalNitrogenProduction) SetUndoableValue(value float64)

func (*TotalNitrogenProduction) UndoableValue

func (tn *TotalNitrogenProduction) UndoableValue() float64

func (*TotalNitrogenProduction) WithName

func (tn *TotalNitrogenProduction) WithName(variableName string) *TotalNitrogenProduction

func (*TotalNitrogenProduction) WithObservers

func (tn *TotalNitrogenProduction) WithObservers(observers ...variable.Observer) *TotalNitrogenProduction

func (*TotalNitrogenProduction) WithStartingValue

func (tn *TotalNitrogenProduction) WithStartingValue(value float64) *TotalNitrogenProduction

Jump to

Keyboard shortcuts

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