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 @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/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(24) list($i,none,none,none,none) ); $data = if count(list({covered @ferc:TransmissionAndCompressionOfGasByOthersAxis=*})) > 0 list({covered @ferc:TransmissionAndCompressionOfGasByOthersAxis=* {list( if exists({@ferc:OrderNumber @unit=* @period=$currentDuration}) first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:DescriptionOfNameOfCompanyAndServicePerformed @unit @period=$currentDuration}) first(list({@ferc:DescriptionOfNameOfCompanyAndServicePerformed @unit @period=$currentDuration})) else none, if exists({@ferc:IndicationOfAssociatedCompany @unit @period=$currentDuration}) if first(list({@ferc:IndicationOfAssociatedCompany @unit @period=$currentDuration})) "*" else "" else "", if exists({@ferc:TransmissionAndCompressionOfGasByOthers @unit @period=$currentDuration}) first(list({@ferc:TransmissionAndCompressionOfGasByOthers @unit @period=$currentDuration})) else none, if exists({@ferc:QuantityOfNaturalGasDeliveredByUtilityDeliveriesOfGasToOthersForTransportation @unit @period=$currentDuration}) first(list({@ferc:QuantityOfNaturalGasDeliveredByUtilityDeliveriesOfGasToOthersForTransportation @unit @period=$currentDuration})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,"","",none,none) or $x == list(0,none,"",none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleTransmissionAndCompressionOfGasByOthersAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2ScheduleTitle").text Transmission And Compression Of Gas By Others (Account 858)
taxonomy().concept(ferc:ScheduleTransmissionAndCompressionOfGasByOthersAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
  1. Report below details concerning gas transported or compressed for respondent by others equalling more than 1,000,000 Dth and amounts of payments for such services during the year. Minor items (less than 1,000,000) Dth may be grouped. Also, include in column (c) amounts paid as transition costs to an upstream pipeline.
  2. In column (a) give name of companies, points of delivery and receipt of gas. Designate points of delivery and receipt so that they can be identified readily on a map of respondent's pipeline system.
  3. Designate associated companies with an asterisk in column (b).
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleTransmissionAndCompressionOfGasByOthersAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "332 - Schedule - Transmission and Compression of Gas by Others (Account 858)") $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] Nature of Payment
$row (a)
1 $row[2] Colorado Interstate Gas Company, Wamsutter Wy, Syracuse Compressor, KS $row[3] * $row[4] $11,343 $row[5] 5,528 Dth
25 taxonomy().concept(ferc:TransmissionAndCompressionOfGasByOthers).label("http://ferc.gov/form/2020-01-01/roles/label/F2Total").text
Total
max(list([covered @concept=ferc:TransmissionAndCompressionOfGasByOthers @period = $currentDuration])) $46,964,968 max(list([covered @concept=ferc:QuantityOfNaturalGasDeliveredByUtilityDeliveriesOfGasToOthersForTransportation @period = $currentDuration])) 127,805,176 Dth