atomica.optimization.StartTimeAdjustment

class atomica.optimization.StartTimeAdjustment(name, lower, upper, initial)[source]

Bases: Adjustment

Optimize program start year

This is an example of an Adjustment that does not target a spending value

Attributes

adjustables

A list of Adjustables

Methods

get_initialization

Return initial values for ASD

update_instructions

adjustables

A list of Adjustables

get_initialization(progset, instructions)[source]

Return initial values for ASD

Parameters:
  • progset – The ProgramSet being used for the optimization

  • instructions (ProgramInstructions) – The initial instructions

Returns:

A list of initial values, one for each adjustable