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 $systemsList = set({covered @ferc:NameOfTransmissionSystemAxis = *}.dimensions-typed().values); $systemsUnique1 = sum($systemsList).to-list; $systemsUnique = if $systemsList.length ==0 list("Enter System") else $systemsUnique1 $members = navigate parent-child descendants from ferc:MonthDomain role "http://ferc.gov/form/2020-01-01/roles/Schedule/F1Q/ScheduleMonthlyPeaksAndOutput" returns list (target-name, preferred-label, order); $data = navigate parent-child descendants from ferc:MonthlyPeaksAndOutputLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F1Q/ScheduleMonthlyPeaksAndOutput" where $relationship.target.name != ferc:NameOfSystem returns list (target, preferred-label, order); $data2 = navigate parent-child descendants from ferc:MonthlyPeaksAndOutputLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F1Q/ScheduleMonthlyPeaksAndOutput" returns list (target-name); $allSystems = list(for $system in $systemsUnique if list({covered @concept in $data2 @ferc:NameOfTransmissionSystemAxis = $system}).length == 0 and $system != "Enter System" skip else $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 == "F1Q - 399 - 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: " + $system.string,none,none,none,none,none)) + $monthlyOutput + $total ); for $system in $allSystems for $rowl in $system.sort
taxonomy().concept(ferc:ScheduleMonthlyPeaksAndOutputAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Schedule").text Monthly Peak and Output
taxonomy().concept(ferc:ScheduleMonthlyPeakAndOutputAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
  1. Report the monthly peak load on the respondent's transmission system. If the respondent has two or more power systems which are not physically integrated, furnish the required information for each non-integrated system.
  2. Report on Column (b) by month the transmission system's peak load.
  3. Report on Columns (c ) and (d) the specified information for each monthly transmission - system peak load reported on Column (b).
  4. Report on Columns (e) through (j) by month the system' monthly maximum megawatt load by statistical classifications. See General Instruction for the definition of each statistical classification.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleMonthlyPeaksAndOutputAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "F1Q - 399 - 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] Nature of Payment
$row (a)
if $rowl[1] == 0 none else $rowl[1] if $rowl[1] == 0 "data-heading" else "" 1 $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