Add diagram workbench UI with Modelica DoF coaching and ISO glyphs.

Ship the Next.js cycle editor with CAD chrome, technical HX symbols, Fixed/Free boundary guidance, and secondary water/air pressure drop support in the solver stack.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-17 22:46:46 +02:00
parent 62efea0646
commit 3358b74342
275 changed files with 70187 additions and 5230 deletions

View File

@@ -87,9 +87,10 @@
// =============================================================================
pub use entropyk_core::{
Calib, CalibIndices, CalibValidationError, Enthalpy, MassFlow, Power, Pressure, Temperature,
ThermalConductance, Concentration, RelativeHumidity, VaporQuality, VolumeFlow,
MIN_MASS_FLOW_REGULARIZATION_KG_S,
id_ends_with_calib_suffix, normalize_factor_name, Calib, CalibIndices, CalibValidationError,
Concentration, Enthalpy, MassFlow, Power, Pressure, RelativeHumidity, Temperature,
ThermalConductance, VaporQuality, VolumeFlow, MIN_MASS_FLOW_REGULARIZATION_KG_S, Z_DP, Z_ETAV,
Z_FLOW, Z_POWER, Z_UA,
};
// =============================================================================
@@ -97,25 +98,28 @@ pub use entropyk_core::{
// =============================================================================
pub use entropyk_components::{
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, FreeCoolingConfig, FreeCoolingControlMode, FreeCoolingExchanger,
FreeCoolingMode, HeatExchanger, HeatExchangerBuilder, HeatTransferModel,
HxSideConditions, IncompressibleMerger,
IncompressibleSplitter, JacobianBuilder, LmtdModel, MchxCondenserCoil, MockExternalModel,
Node, NodeMeasurements, NodePhase, OperationalState, PerformanceCurves, PhaseRegion,
Pipe, PipeGeometry, Polynomial1D,
Polynomial2D, Pump, PumpCurves, RegistryError, RefrigerantSink, RefrigerantSource,
ResidualVector, ScrewEconomizerCompressor,
ScrewPerformanceCurves, SstSdtCoefficients, StateHistory, StateManageable,
StateTransitionError, SystemState, ThreadSafeExternalModel, ValveCharacteristics,
create_component, friction_factor, roughness, AffinityLaws, Ahri540Coefficients,
AirCooledCondenser, AirSink, AirSource, Anchor, AnchorConstraint, BoundedCurve, BrineSink,
BrineSource, BypassValve, BypassValveConfig, CapillaryGeometry, CapillaryTube,
CentrifugalCompressor, CentrifugalMap, CentrifugalMapPoint, CircuitId, CoilGeometry, Component,
ComponentError, CompressibleMerger, CompressibleSplitter, Compressor, CompressorModel,
Condenser, CondenserCoil, CondenserRating, ConnectedPort, ConnectionError, CurveEngine,
CurveEval, CurveResult, CurveSet, CurveWarning, Drum, Economizer, EpsNtuModel, Evaporator,
EvaporatorCoil, EvaporatorRating, ExchangerType, ExpansionValve, ExternalModel,
ExternalModelConfig, ExternalModelError, ExternalModelMetadata, ExternalModelType, Fan,
FanCoilUnit, FanCurves, FinCoilCondenser, FinType, FloodedEvaporator, FloodedPoolBoilingConfig,
FlowConfiguration, FlowMerger, FlowSplitter, FluidKind, FreeCoolingConfig,
FreeCoolingControlMode, FreeCoolingExchanger, FreeCoolingMode, GasCooler, HeatExchanger,
HeatExchangerBuilder, HeatSource, HeatTransferModel, HxSideConditions, IncompressibleMerger,
IncompressibleSplitter, IsenthalpicExpansionValve, IsentropicCompressor, JacobianBuilder,
LmtdModel, MchxCondenserCoil, MockExternalModel, Node, NodeMeasurements, NodePhase,
OperationalState, PerformanceCurves, PhaseRegion, Pipe, PipeGeometry, Polynomial1D,
Polynomial2D, Pump, PumpCurves, RefrigerantSink, RefrigerantSource, RegistryError,
ResidualVector, ScrewEconomizerCompressor, ScrewPerformanceCurves, ShellAndTubeHx,
SstSdtCoefficients, StateHistory, StateManageable, StateTransitionError, SystemState,
ThermalLoad, ThreadSafeExternalModel, UaMode, ValveCharacteristics, ValveFlowModel,
};
pub use entropyk_components::{ReversingMode, ReversingValve};
pub use entropyk_components::port::{Connected, Disconnected, FluidId as ComponentFluidId, Port};
@@ -134,18 +138,18 @@ pub use entropyk_fluids::{
// Solver Re-exports
// =============================================================================
pub use entropyk_solver::inverse::{
BoundedVariable, BoundedVariableError, BoundedVariableId, DoFError,
};
pub use entropyk_solver::{
antoine_pressure, compute_coupling_heat, coupling_groups, has_circular_dependencies,
AddEdgeError, AntoineCoefficients, CircuitConvergence, CircuitId as SolverCircuitId,
ComponentOutput, Constraint, ConstraintError, ConstraintId, ConvergedState,
ConvergenceCriteria, ConvergenceReport, ConvergenceStatus, FallbackConfig, FallbackSolver,
FlowEdge, InitializerConfig, InitializerError, JacobianFreezingConfig, JacobianMatrix,
MacroComponent, MacroComponentSnapshot, NewtonConfig, PicardConfig, PortMapping,
SmartInitializer, Solver, SolverError, SolverStrategy, System, ThermalCoupling, TimeoutConfig,
TopologyError,
};
pub use entropyk_solver::inverse::{
BoundedVariable, BoundedVariableError, BoundedVariableId, DoFError,
ConvergenceCriteria, ConvergenceReport, ConvergenceStatus, CyclePerformance, FallbackConfig,
FallbackSolver, FlowEdge, HomotopyConfig, InitializerConfig, InitializerError,
JacobianFreezingConfig, JacobianMatrix, MacroComponent, MacroComponentSnapshot, NewtonConfig,
PicardConfig, PortMapping, SmartInitializer, Solver, SolverError, SolverStrategy, System,
ThermalCoupling, TimeoutConfig, TopologyError,
};
// =============================================================================
@@ -172,6 +176,16 @@ pub use result::{
PortState, SimulationOutcome, SimulationResult, SystemSummary,
};
// =============================================================================
// Standardized ratings (IPLV / ESEER / SCOP)
// =============================================================================
pub mod rating;
pub use rating::{
BinClimateStandard, BinPerformance, PartLoadEfficiencies, PartLoadStandard, RatingCondition,
RatingError, TemperatureBin,
};
// =============================================================================
// Prelude
// =============================================================================
@@ -185,8 +199,8 @@ pub use result::{
/// use entropyk::prelude::*;
/// ```
pub mod prelude {
pub use crate::ThermoError;
pub use crate::result::SimulationResult;
pub use crate::ThermoError;
pub use entropyk_components::Component;
pub use entropyk_core::{Enthalpy, MassFlow, Power, Pressure, Temperature};
pub use entropyk_solver::{NewtonConfig, Solver, System};