pub struct CuTable {
pub floor_reflectance: f64,
pub values: Vec<Vec<f64>>,
pub reflectances: Vec<(u8, u8, u8)>,
pub rcr_values: Vec<u8>,
}Expand description
Coefficient of Utilization table.
Contains CU values (as percentages) for standard room cavity ratios and reflectance combinations, following IES Zonal Cavity Method.
Fields§
§floor_reflectance: f64Effective floor cavity reflectance used
values: Vec<Vec<f64>>CU values indexed as [rcr_index][reflectance_index] Values are percentages (0-100+)
reflectances: Vec<(u8, u8, u8)>Reflectance combinations (ceiling%, wall%, floor%)
rcr_values: Vec<u8>Room cavity ratios
Implementations§
Source§impl CuTable
impl CuTable
Sourcepub fn calculate_sophisticated(ldt: &Eulumdat) -> Self
pub fn calculate_sophisticated(ldt: &Eulumdat) -> Self
Calculate full CU table using the sophisticated IES method (calibrated).
Used for benchmarking comparison with the simple method.
Sourcepub fn calculate_simple(ldt: &Eulumdat) -> Self
pub fn calculate_simple(ldt: &Eulumdat) -> Self
Calculate full CU table using the simple method.
Used for benchmarking comparison with the sophisticated method.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CuTable
impl RefUnwindSafe for CuTable
impl Send for CuTable
impl Sync for CuTable
impl Unpin for CuTable
impl UnsafeUnpin for CuTable
impl UnwindSafe for CuTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more