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(42) list($i,none,none)); $data = if count(list({covered @ferc:ConstructionWorkInProgressAxis=*})) > 0 list({covered @ferc:ConstructionWorkInProgressAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:ConstructionWorkInProgressProjectDescription @unit @ferc:UtilityTypeAxis=ferc:ElectricUtilityMember @period = $currentDuration}) first(list({@ferc:ConstructionWorkInProgressProjectDescription @unit @ferc:UtilityTypeAxis=ferc:ElectricUtilityMember @period = $currentDuration})) else none, if exists({@ferc:ConstructionWorkInProgress @unit @ferc:UtilityTypeAxis=ferc:ElectricUtilityMember @period = $currentInstant}) first(list({@ferc:ConstructionWorkInProgress @ferc:UtilityTypeAxis=ferc:ElectricUtilityMember @unit @period = $currentInstant})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0, none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleConstructionWorkInProgressElectricAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text Gas Property And Capacity Leased From Others
taxonomy().concept(ferc:ScheduleConstructionWorkInProgressElectricAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
  1. Report below descriptions and balances at end of year of projects in process of construction (107).
  2. Show items relating to "research, development, and demonstration" projects last, under a caption Research, Development, and Demonstrating (see Account 107 of the Uniform System of Accounts).
  3. Minor projects (5% of the Balance End of the Year for Account 107 or $1,000,000, whichever is less) may be grouped.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleConstructionWorkInProgressElectricAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "216 - Schedule - Construction Work in Progress - Electric") $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
$heading_dict[$row][2].name.local-name
$heading_dict[$row][1] Nature of Payment
$row (a)
1 $row[2] Minor Project $row[3] $1,000,000
43 taxonomy().concept(ferc:ConstructionWorkInProgress).label("http://ferc.gov/form/2020-01-01/roles/label/F1Total").text
Total
max(list([covered @concept=ferc:ConstructionWorkInProgress @ferc:UtilityTypeAxis=ferc:ElectricUtilityMember @period=$currentInstant])) $1,000,000