taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text Name of Respondent:
[@ferc:RespondentLegalName @period=$currentDuration] Duke Energy Kentucky, Inc.
taxonomy().concept(ferc:SubmissionType).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text This report is:
(1) if missing({covered @concept=ferc:SubmissionType}) ☐ An Original']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "O" ☑ An Original']]> else ☐ An Original']]> An Original
(2) if missing([covered @concept=ferc:SubmissionType @period=$currentDuration]) ☐ A Resubmission']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "R" ☑ A Resubmission']]> else ☐ A Resubmission']]> A Resubmission
taxonomy().concept(ferc:ReportDate).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text Date of Report:
[@ferc:ReportDate @period=$currentDuration] 04/26/2019
taxonomy().concept(ferc:ReportYearPeriod).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text Year/Period of Report:
End of: [@ferc:ReportYear @period=$currentDuration] 2018 / [@ferc:ReportPeriod @period=$currentDuration] Q4
// adding a comment $data2 = list(for $i in range(34) list($i,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none) ); $data = if count(list({covered @ferc:EnergyStorageOperationsAxis=*})) > 0 list({covered @ferc:EnergyStorageOperationsAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:EnergyStorageProjectName @unit @period=$currentDuration}) first(list({@ferc:EnergyStorageProjectName @unit @period=$currentDuration})) else none, if exists({@ferc:FunctionalClassificationEnergyStorageOperations @unit @period=$currentDuration}) first(list({@ferc:FunctionalClassificationEnergyStorageOperations @unit @period=$currentDuration})) else none, if exists({@ferc:ProjectLocation @unit @period=$currentDuration}) first(list({@ferc:ProjectLocation @unit @period=$currentDuration})) else none, if exists({@ferc:EnergyPurchasedGeneratedReceivedForStorage @unit @period=$currentDuration}) first(list({@ferc:EnergyPurchasedGeneratedReceivedForStorage @unit @period=$currentDuration})) else none, if exists({@ferc:EnergyDeliveredToSupportProductionPlant @unit @period=$currentDuration}) first(list({@ferc:EnergyDeliveredToSupportProductionPlant @unit @period=$currentDuration})) else none, if exists({@ferc:EnergyDeliveredToSupportTransmissionPlant @unit @period=$currentDuration}) first(list({@ferc:EnergyDeliveredToSupportTransmissionPlant @unit @period=$currentDuration})) else none, if exists({@ferc:EnergyDeliveredToSupportDistributionPlant @unit @period=$currentDuration}) first(list({@ferc:EnergyDeliveredToSupportDistributionPlant @unit @period=$currentDuration})) else none, if exists({@ferc:EnergyLostDuringConversionStorageDischargeAndDischargeOfEnergyProductionPlant @unit @period=$currentDuration}) first(list({@ferc:EnergyLostDuringConversionStorageDischargeAndDischargeOfEnergyProductionPlant @unit @period=$currentDuration})) else none, if exists({@ferc:EnergyLostDuringConversionStorageDischargeAndDischargeOfEnergyTransmissionPlant @unit @period=$currentDuration}) first(list({@ferc:EnergyLostDuringConversionStorageDischargeAndDischargeOfEnergyTransmissionPlant @unit @period=$currentDuration})) else none, if exists({@ferc:EnergyLostDuringConversionStorageDischargeAndDischargeOfEnergyDistributionplant @unit @period=$currentDuration}) first(list({@ferc:EnergyLostDuringConversionStorageDischargeAndDischargeOfEnergyDistributionplant @unit @period=$currentDuration})) else none, if exists({@ferc:EnergySold @unit @period=$currentDuration}) first(list({@ferc:EnergySold @unit @period=$currentDuration})) else none, if exists({@ferc:RevenuesFromEnergyStorageOperations @unit @period=$currentDuration}) first(list({@ferc:RevenuesFromEnergyStorageOperations @unit @period=$currentDuration})) else none, if exists({@ferc:PowerPurchasedForStorageOperations @unit @period=$currentDuration}) first(list({@ferc:PowerPurchasedForStorageOperations @unit @period=$currentDuration})) else none, if exists({@ferc:FuelCostsStorageOperationsSelfGeneratedPower @unit @period=$currentDuration}) first(list({@ferc:FuelCostsStorageOperationsSelfGeneratedPower @unit @period=$currentDuration})) else none, if exists({@ferc:OtherCostsSelfGeneratedPower @unit @period=$currentDuration}) first(list({@ferc:OtherCostsSelfGeneratedPower @unit @period=$currentDuration})) else none, if exists({@ferc:ProjectCostsAccount @unit @period=$currentDuration}) first(list({@ferc:ProjectCostsAccount @unit @period=$currentDuration})) else none, if exists({@ferc:ProjectPlantCostProduction @unit @period=$currentDuration}) first(list({@ferc:ProjectPlantCostProduction @unit @period=$currentDuration})) else none, if exists({@ferc:ProjectPlantCostTransmission @unit @period=$currentDuration}) first(list({@ferc:ProjectPlantCostTransmission @unit @period=$currentDuration})) else none, if exists({@ferc:ProjectPlantCostDistribution @unit @period=$currentDuration}) first(list({@ferc:ProjectPlantCostDistribution @unit @period=$currentDuration})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleEnergyStorageOperationsLargePlantsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text ENERGY STORAGE OPERATIONS (Large Plants)
taxonomy().concept(ferc:ScheduleEnergyStorageOperationsLargePlantsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
  1. Large Plants are plants of 10,000 KW or more.
  2. In columns (a) (b) and (c) report the name of the energy storage project, functional classification (Production, Transmission, Distribution), and location.
  3. In column (d), report Megawatt hours (MWH) purchased, generated, or received in exchange transactions for storage.
  4. In columns (e), (f) and (g) report MWHs delivered to the grid to support production, transmission and distribution. The amount reported in column (d) should include MWHs delivered/provided to a generator’s own load requirements or used for the provision of ancillary services.
  5. In columns (h), (i), and (j) report MWHs lost during conversion, storage and discharge of energy.
  6. In column (k) report the MWHs sold.
  7. In column (l), report revenues from energy storage operations. In a footnote, disclose the revenue accounts and revenue amounts related to the income generating activity.
  8. In column (m), report the cost of power purchased for storage operations and reported in Account 555.1, Power Purchased for Storage Operations. If power was purchased from an affiliated seller specify how the cost of the power was determined. In columns (n) and (o), report fuel costs for storage operations associated with self-generated power included in Account 501 and other costs associated with self-generated power.
  9. In columns (q), (r) and (s) report the total project plant costs including but not exclusive of land and land rights, structures and improvements, energy storage equipment, turbines, compressors, generators, switching and conversion equipment, lines and equipment whose primary purpose is to integrate or tie energy storage assets into the power grid, and any other costs associated with the energy storage project included in the property accounts listed.
Line No. /** THIS CODE EXCLUDES ELEMENT NAMES AS THERE ARE NO ELEMENT SPECIFIC COLUMNS **/ $headings = filter (taxonomy().concept(ferc:ScheduleEnergyStorageOperationsLargePlantsAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "414 - Schedule - Energy Storage Operations (Large Plants)") $headings = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value)) $heading_dict = dict(for $row in $headings list("("+$row[1]+")",$row[2]) ); for $row in $heading_dict.keys.sort
$heading_dict[$row] Title of Account
$row (a)
1 $row[2] ABC Company $row[5] 1,028 $row[6] 514,247 $row[7] 1,028 $row[8] 514,247 $row[9] 1,028 $row[10] 514,247 $row[11] 1,028 $row[12] 514,247 $row[13] 1,028 $row[14] 514,247 $row[15] 1,028 $row[16] 514,247 $row[18] $1,028 $row[19] $514,247 $row[20] $1,028
35 TOTAL max(list([covered @concept=ferc:EnergyPurchasedGeneratedReceivedForStorage @period = $currentDuration])) 92,477,242 max(list([covered @concept=ferc:EnergyDeliveredToSupportProductionPlant @period = $currentDuration])) 15,256,784 max(list([covered @concept=ferc:EnergyDeliveredToSupportTransmissionPlant @period = $currentDuration])) 92,477,242 max(list([covered @concept=ferc:EnergyDeliveredToSupportDistributionPlant @period = $currentDuration])) 15,256,784 max(list([covered @concept=ferc:EnergyLostDuringConversionStorageDischargeAndDischargeOfEnergyProductionPlant @period = $currentDuration])) 92,477,242 max(list([covered @concept=ferc:EnergyLostDuringConversionStorageDischargeAndDischargeOfEnergyTransmissionPlant @period = $currentDuration])) 15,256,784 max(list([covered @concept=ferc:EnergyLostDuringConversionStorageDischargeAndDischargeOfEnergyDistributionplant @period = $currentDuration])) 92,477,242 max(list([covered @concept=ferc:EnergySold @period = $currentDuration])) 15,256,784 max(list([covered @concept=ferc:RevenuesFromEnergyStorageOperations @period = $currentDuration])) $92,477,242 max(list([covered @concept=ferc:PowerPurchasedForStorageOperations @period = $currentDuration])) $15,256,784 max(list([covered @concept=ferc:FuelCostsStorageOperationsSelfGeneratedPower @period = $currentDuration])) $92,477,242 max(list([covered @concept=ferc:OtherCostsSelfGeneratedPower @period = $currentDuration])) $15,256,784 max(list([covered @concept=ferc:ProjectPlantCostProduction @period = $currentDuration])) $92,477,242 max(list([covered @concept=ferc:ProjectPlantCostTransmission @period = $currentDuration])) $15,256,784 max(list([covered @concept=ferc:ProjectPlantCostDistribution @period = $currentDuration])) $92,477,242