From 2ee87ebc7b92207b7f40e1cdb3e6e0f09caf6014 Mon Sep 17 00:00:00 2001 From: Michael Barlow Date: Wed, 17 Sep 2025 15:11:37 -0600 Subject: [PATCH] feat(transmission): add transmission_loss_rate xml attribute and wire into TransmissionCompressor --- opgee/etc/attributes.xml | 1 + opgee/processes/transmission_compressor.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/opgee/etc/attributes.xml b/opgee/etc/attributes.xml index 2295e937..46c49962 100644 --- a/opgee/etc/attributes.xml +++ b/opgee/etc/attributes.xml @@ -673,6 +673,7 @@ 680.0 200.0 1015.26 + 3.0 diff --git a/opgee/processes/transmission_compressor.py b/opgee/processes/transmission_compressor.py index a603e5f3..c1ca2f05 100644 --- a/opgee/processes/transmission_compressor.py +++ b/opgee/processes/transmission_compressor.py @@ -58,7 +58,7 @@ def cache_attributes(self): self.gas_to_storage_frac = self.attr("gas_to_storage_frac") self.natural_gas_to_liquefaction_frac = self.field.natural_gas_to_liquefaction_frac self.transmission_sys_discharge = self.attr("transmission_sys_discharge") - self.loss_rate = self.venting_fugitive_rate() + self.loss_rate = self.attr("transmission_loss_rate") def run(self, analysis): self.print_running_msg()