taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F2Header").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/F2Header").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]) ☐ 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/F2Header").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/F2Header").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(25) list($i,none,none,none,none,none,none,none,none,none,none,none) ); $data = if count(list({covered @ferc:RateScheduleAxis=*})) > 0 list({covered @ferc:RateScheduleAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:ZoneOfDeliveryOrReceiptRateSchedule @unit @period=$currentDuration}) first(list({@ferc:ZoneOfDeliveryOrReceiptRateSchedule @unit @period=$currentDuration})) else none, if exists({@ferc:RevenuesFromTransitionCostsAndTakeOrPayRevenuesFromStoringGasOfOthers @unit @period=$currentDuration}) first(list({@ferc:RevenuesFromTransitionCostsAndTakeOrPayRevenuesFromStoringGasOfOthers @unit @period=$currentDuration})) else none, if exists({@ferc:RevenuesFromTransitionCostsAndTakeOrPayRevenuesFromStoringGasOfOthers @unit @period=$priorDuration}) first(list({@ferc:RevenuesFromTransitionCostsAndTakeOrPayRevenuesFromStoringGasOfOthers @unit @period=$priorDuration})) else none, if exists({@ferc:RevenuesForGriAndAcaRevenuesFromStoringGasOfOthers @unit @period=$currentDuration}) first(list({@ferc:RevenuesForGriAndAcaRevenuesFromStoringGasOfOthers @unit @period=$currentDuration})) else none, if exists({@ferc:RevenuesForGriAndAcaRevenuesFromStoringGasOfOthers @unit @period=$priorDuration}) first(list({@ferc:RevenuesForGriAndAcaRevenuesFromStoringGasOfOthers @unit @period=$priorDuration})) else none, if exists({@ferc:OtherRevenuesRevenuesFromStoringGasOfOthers @unit @period=$currentDuration}) first(list({@ferc:OtherRevenuesRevenuesFromStoringGasOfOthers @unit @period=$currentDuration})) else none, if exists({@ferc:OtherRevenuesRevenuesFromStoringGasOfOthers @unit @period=$priorDuration}) first(list({@ferc:OtherRevenuesRevenuesFromStoringGasOfOthers @unit @period=$priorDuration})) else none, if exists({@ferc:RevenuesFromStoringGasOfOthers @unit @period=$currentDuration}) first(list({@ferc:RevenuesFromStoringGasOfOthers @unit @period=$currentDuration})) else none, if exists({@ferc:RevenuesFromStoringGasOfOthers @unit @period=$priorDuration}) first(list({@ferc:RevenuesFromStoringGasOfOthers @unit @period=$priorDuration})) else none, if exists({@ferc:QuantityOfNaturalGasRevenuesFromStoringGasOfOthers @unit @period=$currentDuration}) first(list({@ferc:QuantityOfNaturalGasRevenuesFromStoringGasOfOthers @unit @period=$currentDuration})) else none, if exists({@ferc:QuantityOfNaturalGasRevenuesFromStoringGasOfOthers @unit @period=$priorDuration}) first(list({@ferc:QuantityOfNaturalGasRevenuesFromStoringGasOfOthers @unit @period=$priorDuration})) 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) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleRevenuesFromStoringGasOfOthersAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2ScheduleTitle").text Revenues from Storing Gas of Others (Account 489.4)
taxonomy().concept(ferc:ScheduleRevenuesFromStoringGasOfOthersAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
  1. Report revenues and Dth of gas withdrawn from storage by Rate Schedule and in total.
  2. Revenues for penalties including penalties for unauthorized overruns must be reported on page 308.
  3. Other revenues in columns (f) and (g) include reservation charges, deliverability charges, injection and withdrawal charges, less revenues reflected in columns (b) through (e).
  4. Dth of gas withdrawn from storage must not be adjusted for discounting.
  5. Where transportation services are bundled with storage services, report only Dth withdrawn from storage.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleRevenuesFromStoringGasOfOthersAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "306 - Schedule - Revenues from Storing Gas of Others (Account 489.4)") $heading = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value, $ref.part-by-name(ferc-part:ElementName).part-value)) $heading_dict = dict(for $row in $heading list("("+$row[1]+")",list($row[2],if $row[3] == none "" else taxonomy().concept(to-qname($row[3])))) ); for $row in $heading_dict.keys.sort
if $heading_dict[$row][2] != "" $heading_dict[$row][2].name.local-name else ""
$heading_dict[$row][1] Zone of Delivery, Rate Schedule
$row (a)
1 $row[2] Interruptible Storage Service $row[3] $0 $row[4] $0 $row[5] $0 $row[6] $0 $row[7] $26,533 $row[8] $10,683 $row[9] $26,533 $row[10] $10,683 $row[11] 257,655 dth $row[12] 50,613 dth