Closed cmgosnell closed 1 year ago
First, reviewing income_statement_inter_table_calcs. Generally, 'sales_for_resale' and 'electricity_sales_by_rate_schedule_ferc1' detail tables aren't something we're using now, so might be useful in the future but I don't think the billed vs. unbilled components are necessary to account for now.
For the other calculations, I believe each can be edited to avoid using multiple tables:
Here's what I think the revised calculations should be for these fields:
{
'xbrl_factoid': 'power_production_expenses_steam_power',
'table_name': 'electric_operating_expenses_ferc1',
'calculations': [
{'name': 'steam_power_generation_operations_expense', 'weight': 1.0},
{'name': 'steam_power_generation_maintenance_expense', 'weight': 1.0}]},
{
'xbrl_factoid': 'power_production_expenses_hydraulic_power',
'table_name': 'electric_operating_expenses_ferc1',
'calculations': [
{'name': 'hydraulic_power_generation_operations_expense',
'weight': 1.0},
{'name': 'hydraulic_power_generation_maintenance_expense',
'weight': 1.0}]},
{
'xbrl_factoid': 'sales_to_ultimate_consumers',
'table_name': 'electric_operating_revenues_ferc1',
'calculations': [
{'name': 'residential_sales', 'weight': 1.0},
{'name': 'public_street_and_highway_lighting', 'weight': 1.0},
{'name': 'other_sales_to_public_authorities', 'weight': 1.0},
{'name': 'sales_to_railroads_and_railways', 'weight': 1.0},
{'name': 'interdepartmental_sales', 'weight': 1.0},
{'name': 'small_or_commercial_sales_electric_operating_revenue ', 'weight': 1.0},
{'name': 'large_or_industrial_sales_electric_operating_revenue', 'weight': 1.0},]}
It appears to me that all the balance sheet table calcs reference fields that are entirely within the same table, is that right?
Overlaps with #2623
there seeming two types of inter-table calculations:
In the exploded table context, the # 1 option seems easy to deal with. When
For but the # 2 option... what should we do? @jrea-rmi We could:
An example to keep it tanglible: in the
electric_operating_expenses_ferc1
table there are two calculated fields ('power_production_expenses_steam_power' &power_production_expenses_hydraulic_power
) that each have one calculation component that is source from that plant tables:All examples of calcs with any inter-table calculation components