From e00bd7f79d452d724f95e9b12ae1955abcddb2c4 Mon Sep 17 00:00:00 2001 From: Matt Prilliman Date: Wed, 11 Oct 2023 16:46:49 -0500 Subject: [PATCH] Renamed Fuel Cell Dispatch BTM --- deploy/runtime/startup.lk | 20 +++---------------- ...patch.json => Fuel Cell Dispatch BTM.json} | 4 ++-- 2 files changed, 5 insertions(+), 19 deletions(-) rename deploy/runtime/ui/{Fuel Cell Dispatch.json => Fuel Cell Dispatch BTM.json} (99%) diff --git a/deploy/runtime/startup.lk b/deploy/runtime/startup.lk index f6545d4edd..8a71997c00 100644 --- a/deploy/runtime/startup.lk +++ b/deploy/runtime/startup.lk @@ -624,20 +624,6 @@ function setup_solar_water_heating_pages() addpage( [[ 'Solar Water Heating' ]], { 'sidebar'='Solar Water Heating', 'help'='shw_system' } ); } -function setup_fuel_cell_pages_hybrid() -{ - addpage([['Fuel Cell']], {'sidebar'='Fuel Cell', 'help'='fuelcell_fuel_cell', 'bin_name'='FuelCell'}); - addpage( [['Fuel Cell Dispatch'],[ 'Fuel Cell Dispatch Manual' ]], - { 'sidebar'='Fuel Cell Dispatch', 'help'='fuelcell_dispatch', 'bin_name'='FuelCell'} ); -/* addpage( [[ {'name'='Battery Dispatch Automated FOM', 'caption'='Automated'} ], - [{'name'='Battery Dispatch PV Smoothing', 'caption'='PV Smoothing'}], - [ {'name'='Battery Dispatch Custom Time Series', 'caption'='Custom Time Series'} ], - [{'name'='Fuel Cell Dispatch Manual', 'caption'='Manual'}]], - { 'sidebar'='Dispatch', 'help'='fuelcell_dispatch', 'bin_name'='FuelCell', 'exclusive_var' = 'batt_dispatch_excl', - 'exclusive_header_pages' = ['Fuel Cell Dispatch', 'Battery Dispatch Options FOM'], 'exclusive_tabs'=true, 'exclusive_hide'=true} ); -*/ -} - function setup_etes_pages() { addpage( [['Solar Resource Data']], { 'sidebar'='Location and Resource', 'help'='etes_location_and_resource' } ); @@ -1278,7 +1264,7 @@ addpage( [[ {'name'='AA Empty', 'caption'='Fixed Output'} ], [ {'name'='AA Empty', 'caption'='Follow Electric Load'} ], [ {'name'='Fuel Cell Dispatch Manual', 'caption'='Manual Dispatch'} ], [ {'name'='AA Empty', 'caption'='Input Dispatch'}] ], - { 'sidebar'='Fuel Cell Dispatch', 'help'='fuelcell_dispatch', 'exclusive_var' = 'fuelcell_dispatch_excl', 'exclusive_header_pages' = ['Fuel Cell Dispatch'], 'exclusive_tabs'=true, 'exclusive_hide'=true} ); + { 'sidebar'='Fuel Cell Dispatch', 'help'='fuelcell_dispatch', 'exclusive_var' = 'fuelcell_dispatch_excl', 'exclusive_header_pages' = ['Fuel Cell Dispatch BTM'], 'exclusive_tabs'=true, 'exclusive_hide'=true} ); setup_grid_limits_page(); setup_grid_outage_page(); setup_lifetime_page( DEGRADATION_DC_LIFETIME ); @@ -2858,7 +2844,7 @@ addpage( [[ 'Wind Farm Costs']], { 'sidebar'='Wind Installation Costs', 'help'=' addpage( [[ 'Operating Costs' ]], {'sidebar' = 'Wind Operating Costs', 'help'='oc_operating', 'bin_name'='Wind'} ); //fuel cell addpage( [[ 'Fuel Cell']], {'sidebar'='Fuel Cell', 'help'='fuelcell_fuel_cell', 'bin_name'='FuelCell'}); -addpage( [[ {'name'='AA Empty', 'caption'='Fixed Output'} ], [ {'name'='AA Empty', 'caption'='Follow Electric Load'} ], [ {'name'='Fuel Cell Dispatch Manual', 'caption'='Manual Dispatch'} ], [ {'name'='AA Empty', 'caption'='Input Dispatch'}] ], { 'sidebar'='Fuel Cell Dispatch', 'help'='fuelcell_dispatch', 'exclusive_var' = 'fuelcell_dispatch_excl', 'exclusive_header_pages' = ['Fuel Cell Dispatch'], 'exclusive_tabs'=true, 'exclusive_hide'=true, 'bin_name'='FuelCell'} ); +addpage( [[ {'name'='AA Empty', 'caption'='Fixed Output'} ], [ {'name'='AA Empty', 'caption'='Follow Electric Load'} ], [ {'name'='Fuel Cell Dispatch Manual', 'caption'='Manual Dispatch'} ], [ {'name'='AA Empty', 'caption'='Input Dispatch'}] ], { 'sidebar'='Fuel Cell Dispatch', 'help'='fuelcell_dispatch', 'exclusive_var' = 'fuelcell_dispatch_excl', 'exclusive_header_pages' = ['Fuel Cell Dispatch BTM'], 'exclusive_tabs'=true, 'exclusive_hide'=true, 'bin_name'='FuelCell'} ); addpage( [[ 'Fuel Cell Costs Hybrid' ]], { 'sidebar'='Fuel Cell Installation Costs', 'help'='cc_fuel_cell', 'bin_name'='FuelCell' } ); addpage( [[ 'Operating Costs Fuel Cell Hybrid' ]], { 'sidebar'='Fuel Cell Operating Costs', 'help'='oc_fuel_cell', 'bin_name'='FuelCell' } ); // battery @@ -3167,7 +3153,7 @@ addpage( [[ 'Wind Farm Costs']], { 'sidebar'='Wind Installation Costs', 'help'=' addpage( [[ 'Operating Costs' ]], {'sidebar' = 'Wind Operating Costs', 'help'='oc_operating', 'bin_name'='Wind'} ); //fuel cell addpage( [[ 'Fuel Cell']], {'sidebar'='Fuel Cell', 'help'='fuelcell_fuel_cell', 'bin_name'='FuelCell'}); -addpage( [[ {'name'='AA Empty', 'caption'='Fixed Output'} ], [ {'name'='AA Empty', 'caption'='Follow Electric Load'} ], [ {'name'='Fuel Cell Dispatch Manual', 'caption'='Manual Dispatch'} ], [ {'name'='AA Empty', 'caption'='Input Dispatch'}] ], { 'sidebar'='Fuel Cell Dispatch', 'help'='fuelcell_dispatch', 'exclusive_var' = 'fuelcell_dispatch_excl', 'exclusive_header_pages' = ['Fuel Cell Dispatch'], 'exclusive_tabs'=true, 'exclusive_hide'=true, 'bin_name'='FuelCell'} ); +addpage( [[ {'name'='AA Empty', 'caption'='Fixed Output'} ], [ {'name'='AA Empty', 'caption'='Follow Electric Load'} ], [ {'name'='Fuel Cell Dispatch Manual', 'caption'='Manual Dispatch'} ], [ {'name'='AA Empty', 'caption'='Input Dispatch'}] ], { 'sidebar'='Fuel Cell Dispatch', 'help'='fuelcell_dispatch', 'exclusive_var' = 'fuelcell_dispatch_excl', 'exclusive_header_pages' = ['Fuel Cell Dispatch BTM'], 'exclusive_tabs'=true, 'exclusive_hide'=true, 'bin_name'='FuelCell'} ); addpage( [[ 'Fuel Cell Costs Hybrid' ]], { 'sidebar'='Fuel Cell Installation Costs', 'help'='cc_fuel_cell', 'bin_name'='FuelCell' } ); addpage( [[ 'Operating Costs Fuel Cell Hybrid' ]], { 'sidebar'='Fuel Cell Operating Costs', 'help'='oc_fuel_cell', 'bin_name'='FuelCell' } ); // battery diff --git a/deploy/runtime/ui/Fuel Cell Dispatch.json b/deploy/runtime/ui/Fuel Cell Dispatch BTM.json similarity index 99% rename from deploy/runtime/ui/Fuel Cell Dispatch.json rename to deploy/runtime/ui/Fuel Cell Dispatch BTM.json index eecbcc4ee2..46e9709559 100644 --- a/deploy/runtime/ui/Fuel Cell Dispatch.json +++ b/deploy/runtime/ui/Fuel Cell Dispatch BTM.json @@ -1,5 +1,5 @@ { - "Name": "Fuel Cell Dispatch", + "Name": "Fuel Cell Dispatch BTM", "Width": 1052.0, "Height": 150.0, "FormObjects": { @@ -504,7 +504,7 @@ "};" ], "Callbacks": [ - "on_load{'Fuel Cell Dispatch'} = define() ", + "on_load{'Fuel Cell Dispatch BTM'} = define() ", "{", "\tenable_fc_dispatch_options();", "};",