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 = navigate parent-child descendants from ferc:MonthlyPeakAndOutputLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F1/ScheduleMonthlyPeaksAndOutput" where $relationship.target.name != ferc:NameOfSystem returns list (target-name); $systemsList = set({covered @concept in $data2 @ferc:NameOfTransmissionSystemAxis = *}.dimensions-typed().values); $systemsUnique1 = sum($systemsList).to-list; $systemsUnique = if $systemsUnique1 == none list("Enter System") else $systemsUnique1 $members = navigate parent-child descendants from ferc:MonthDomain role "http://ferc.gov/form/2020-01-01/roles/Schedule/F1/ScheduleMonthlyPeaksAndOutput" returns list (target-name, preferred-label, order); $data = navigate parent-child descendants from ferc:MonthlyPeakAndOutputLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F1/ScheduleMonthlyPeaksAndOutput" where $relationship.target.name != ferc:NameOfSystem returns list (target, preferred-label, order); $allSystems = list(for $system in $systemsUnique $systemName = [covered @ferc:NameOfSystem @ferc:NameOfTransmissionSystemAxis = $system @unit @period = $currentDuration]; $monthlyOutput = list( for $row in $members $concept=taxonomy().concept($row[1]); $row_num = (filter $concept.references("http://ferc.gov/form/2020-01-01/roles/reference/formLocation") where ($item.part-by-name(ferc-part:Schedule).part-value == "401b - Schedule - Monthly Peaks and Output" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label")).to-list; $rowID = if ($row_num.part-by-name(ferc-part:Row)).length > 0 ($row_num.part-by-name(ferc-part:Row))[1].part-value else ""; $abstractLabel = list($rowID.number, $concept.label($row[2].role.uri).text); $dataRow1 = list(for $y in $data if list([covered @concept = $y[1].name @ferc:NameOfTransmissionSystemAxis = $system @ferc:MonthAxis = $row[1] @unit @period = $currentDuration]).length > 0 first(list([covered @concept = $y[1].name @ferc:NameOfTransmissionSystemAxis = $system @ferc:MonthAxis = $row[1] @unit @period = $currentDuration])) else none); $abstractLabel + $dataRow1 ); $total = list(list(41,taxonomy().concept(ferc:MonthDomain).label("http://ferc.gov/form/2020-01-01/roles/label/F1Total").text) + list(for $t in $data if list([covered @concept = $t[1].name @ferc:NameOfTransmissionSystemAxis = $system @unit @period = $currentDuration]).length > 0 first(list([covered @concept = $t[1].name @ferc:NameOfTransmissionSystemAxis = $system @unit @period = $currentDuration])) else none )); list(list(0,"NAME OF SYSTEM: " + first-value($systemName,$system).string,none,none,none,none,none)) + $monthlyOutput + $total ); for $system in $allSystems for $rowl in $system.sort
taxonomy().concept(ferc:ScheduleMonthlyPeakAndOutputAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text MONTHLY PEAKS AND OUTPUT
taxonomy().concept(ferc:ScheduleMonthlyPeakAndOutputAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
  1. Report the monthly peak load and energy output. If the respondent has two or more power which are not physically integrated, furnish the required information for each non- integrated system.
  2. Report in column (b) by month the system’s output in Megawatt hours for each month.
  3. Report in column (c) by month the non-requirements sales for resale. Include in the monthly amounts any energy losses associated with the sales.
  4. Report in column (d) by month the system’s monthly maximum megawatt load (60 minute integration) associated with the system.
  5. Report in column (e) and (f) the specified information for each monthly peak load reported in column (d).
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleMonthlyPeakAndOutputAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "401b - Schedule - Monthly Peaks and Output") $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] Classification
$row (a)
if $rowl[1] == 0 none else $rowl[1] if $rowl[1] == 0 "data-heading" else "" 29 $rowl[2] if $rowl[1] == 0 "data-heading" else "" January $rowl[3] if $rowl[1] == 0 "data-heading" else "" 300,000 $rowl[4] if $rowl[1] == 0 "data-heading" else "" $7,000,000 $rowl[5] if $rowl[1] == 0 "data-heading" else "" 13,000,000 $rowl[6] if $rowl[1] == 0 "data-heading" else "" 13 $rowl[7] if $rowl[1] == 0 "data-heading" else "" 1400