Update project structure and configurations
This commit is contained in:
@@ -88,7 +88,8 @@
|
||||
|
||||
pub use entropyk_core::{
|
||||
Calib, CalibIndices, CalibValidationError, Enthalpy, MassFlow, Power, Pressure, Temperature,
|
||||
ThermalConductance, MIN_MASS_FLOW_REGULARIZATION_KG_S,
|
||||
ThermalConductance, Concentration, RelativeHumidity, VaporQuality, VolumeFlow,
|
||||
MIN_MASS_FLOW_REGULARIZATION_KG_S,
|
||||
};
|
||||
|
||||
// =============================================================================
|
||||
@@ -96,21 +97,24 @@ pub use entropyk_core::{
|
||||
// =============================================================================
|
||||
|
||||
pub use entropyk_components::{
|
||||
friction_factor, roughness, AffinityLaws, Ahri540Coefficients, AirSink, AirSource,
|
||||
BrineSink, BrineSource, CircuitId, Component,
|
||||
create_component, friction_factor, roughness, AffinityLaws, Ahri540Coefficients, AirSink, AirSource,
|
||||
BoundedCurve, BrineSink, BrineSource, BypassValve, BypassValveConfig, CircuitId, Component,
|
||||
ComponentError, CompressibleMerger, CompressibleSplitter,
|
||||
Compressor, CompressorModel, Condenser, CondenserCoil, ConnectedPort, ConnectionError,
|
||||
CurveEngine, CurveEval, CurveResult, CurveSet, CurveWarning,
|
||||
Economizer, EpsNtuModel, Evaporator, EvaporatorCoil, ExchangerType, ExpansionValve,
|
||||
ExternalModel, ExternalModelConfig, ExternalModelError, ExternalModelMetadata,
|
||||
ExternalModelType, Fan, FanCurves, FloodedEvaporator, FlowConfiguration, FlowMerger,
|
||||
FlowSplitter, FluidKind, HeatExchanger, HeatExchangerBuilder, HeatTransferModel,
|
||||
FlowSplitter, FluidKind, FreeCoolingConfig, FreeCoolingControlMode, FreeCoolingExchanger,
|
||||
FreeCoolingMode, HeatExchanger, HeatExchangerBuilder, HeatTransferModel,
|
||||
HxSideConditions, IncompressibleMerger,
|
||||
IncompressibleSplitter, JacobianBuilder, LmtdModel, MchxCondenserCoil, MockExternalModel,
|
||||
OperationalState, PerformanceCurves, PhaseRegion, Pipe, PipeGeometry, Polynomial1D,
|
||||
Polynomial2D, Pump, PumpCurves, RefrigerantSink, RefrigerantSource, ResidualVector,
|
||||
ScrewEconomizerCompressor,
|
||||
Node, NodeMeasurements, NodePhase, OperationalState, PerformanceCurves, PhaseRegion,
|
||||
Pipe, PipeGeometry, Polynomial1D,
|
||||
Polynomial2D, Pump, PumpCurves, RegistryError, RefrigerantSink, RefrigerantSource,
|
||||
ResidualVector, ScrewEconomizerCompressor,
|
||||
ScrewPerformanceCurves, SstSdtCoefficients, StateHistory, StateManageable,
|
||||
StateTransitionError, SystemState, ThreadSafeExternalModel,
|
||||
StateTransitionError, SystemState, ThreadSafeExternalModel, ValveCharacteristics,
|
||||
};
|
||||
|
||||
pub use entropyk_components::port::{Connected, Disconnected, FluidId as ComponentFluidId, Port};
|
||||
@@ -158,6 +162,16 @@ pub use error::{ThermoError, ThermoResult};
|
||||
mod builder;
|
||||
pub use builder::{SystemBuilder, SystemBuilderError};
|
||||
|
||||
// =============================================================================
|
||||
// Structured Results
|
||||
// =============================================================================
|
||||
|
||||
mod result;
|
||||
pub use result::{
|
||||
extract_simulation_result, ComponentResult, ConvergenceSummary, EdgeResult, EnergyResult,
|
||||
PortState, SimulationOutcome, SimulationResult, SystemSummary,
|
||||
};
|
||||
|
||||
// =============================================================================
|
||||
// Prelude
|
||||
// =============================================================================
|
||||
@@ -172,6 +186,7 @@ pub use builder::{SystemBuilder, SystemBuilderError};
|
||||
/// ```
|
||||
pub mod prelude {
|
||||
pub use crate::ThermoError;
|
||||
pub use crate::result::SimulationResult;
|
||||
pub use entropyk_components::Component;
|
||||
pub use entropyk_core::{Enthalpy, MassFlow, Power, Pressure, Temperature};
|
||||
pub use entropyk_solver::{NewtonConfig, Solver, System};
|
||||
|
||||
Reference in New Issue
Block a user