chore: sync project state and current artifacts
This commit is contained in:
@@ -19,13 +19,11 @@
|
||||
//! Circular dependencies occur when circuits mutually heat each other (A→B and B→A).
|
||||
//! Circuits in circular dependencies must be solved simultaneously by the solver.
|
||||
|
||||
use entropyk_core::{Temperature, ThermalConductance};
|
||||
use entropyk_core::{CircuitId, Temperature, ThermalConductance};
|
||||
use petgraph::algo::{is_cyclic_directed, kosaraju_scc};
|
||||
use petgraph::graph::{DiGraph, NodeIndex};
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::system::CircuitId;
|
||||
|
||||
/// Thermal coupling between two circuits via a heat exchanger.
|
||||
///
|
||||
/// Heat flows from `hot_circuit` to `cold_circuit` proportional to the
|
||||
@@ -232,7 +230,7 @@ mod tests {
|
||||
use super::*;
|
||||
use approx::assert_relative_eq;
|
||||
|
||||
fn make_coupling(hot: u8, cold: u8, ua_w_per_k: f64) -> ThermalCoupling {
|
||||
fn make_coupling(hot: u16, cold: u16, ua_w_per_k: f64) -> ThermalCoupling {
|
||||
ThermalCoupling::new(
|
||||
CircuitId(hot),
|
||||
CircuitId(cold),
|
||||
|
||||
Reference in New Issue
Block a user