reVX.plexos.plexos_plants.Plants

class Plants(plants)[source]

Bases: object

Base class to handle plants

Methods

load(plants_fpath)

Load pre-filled plants from disc

Attributes

plant_builds

List of plant builds

plant_ids

Plant ids

plants

Dictionary matching plants to plant ids

property plant_ids

Plant ids

Returns:

list

property plants

Dictionary matching plants to plant ids

Returns:

dict

property plant_builds

List of plant builds

Returns:

dict

classmethod load(plants_fpath)[source]

Load pre-filled plants from disc

Parameters:

plants_fpath (str | DataFrame) – DataFrame or path to .csv containing pre-filled plants

Returns:

Plants – Initialized Plants instance with pre-filled plants