frequenz-microgrid-component-graph 0.6.1

A library for representing the components of a microgrid and the connections between them as a Directed Acyclic Graph (DAG).
Documentation
// License: MIT
// Copyright © 2024 Frequenz Energy-as-a-Service GmbH

#![doc = include_str!("../README.md")]

mod component_category;
pub use component_category::{BatteryType, ComponentCategory, EvChargerType, InverterType};

mod operational_mode;
pub use operational_mode::OperationalMode;

mod graph;
pub use graph::{ComponentGraph, Formula, iterators};

mod graph_traits;
pub use graph_traits::{Edge, Node};

mod error;
pub use error::{Error, ErrorKind, ValidationError};

mod config;
pub use config::{
    ComponentGraphConfig, ComponentGraphConfigBuilder, FormulaOverrides, FormulaOverridesBuilder,
};