frequenz-microgrid-component-graph 0.5.0

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 graph;
pub use graph::{AggregationFormula, CoalesceFormula, ComponentGraph, Formula, iterators};

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

mod error;
pub use error::Error;

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