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:MonthlyIsoOrRtoTransmissionSystemPeakLoadLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F1/ScheduleMonthlyISORTOTransmissionSystemPeakLoad" 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/ScheduleMonthlyISORTOTransmissionSystemPeakLoad" returns list (target-name, preferred-label, order); $data = navigate parent-child descendants from ferc:MonthlyIsoOrRtoTransmissionSystemPeakLoadLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F1/ScheduleMonthlyISORTOTransmissionSystemPeakLoad" where $relationship.target.name != ferc:NameOfSystem returns list (target, preferred-label, order); $allSystems = list(for $system in $systemsUnique $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 == "400a - Schedule - Monthly ISO-RTO Transmission System Peak Load" 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(17,taxonomy().concept(ferc:MonthDomain).label("http://ferc.gov/form/2020-01-01/roles/label/F1MonthlyISO-RTOTransmissionPeakLoad").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,none,none,none,none)) + $monthlyOutput + $total ); for $system in $allSystems for $rowl in $system.sort
taxonomy().concept(ferc:ScheduleMonthlyIsoOrRtoTransmissionSystemPeakLoadAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Schedule").text MONTHLY ISO/RTO TRANSMISSION SYSTEM PEAK LOAD
taxonomy().concept(ferc:ScheduleMonthlyIsoOrRtoTransmissionSystemPeakLoadAbstract).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 Column (c) and (d) the specified information for each monthly transmission - system peak load reported on Column (b).
  4. Report on Columns (e) through (i) by month the system’s transmission usage by classification. Amounts reported as Through and Out Service in Column (g) are to be excluded from those amounts reported in Columns (e) and (f).
  5. Amounts reported in Column (j) for Total Usage is the sum of Columns (h) and (i).
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleMonthlyIsoOrRtoTransmissionSystemPeakLoadAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "400a - Schedule - Monthly ISO-RTO Transmission System Peak Load") $headings = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value)) $heading_dict = dict(for $row in $headings list("("+$row[1]+")",$row[2]) ); for $row in $heading_dict.keys.sort
$heading_dict[$row] Month
$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 $rowl[5] if $rowl[1] == 0 "data-heading" else "" 1300 $rowl[6] if $rowl[1] == 0 "data-heading" else "" 13,000,000 $rowl[7] if $rowl[1] == 0 "data-heading" else "" 14,000,000 $rowl[8] if $rowl[1] == 0 "data-heading" else "" 15,000,000 $rowl[9] if $rowl[1] == 0 "data-heading" else "" 16,000,000 $rowl[10] if $rowl[1] == 0 "data-heading" else "" 17,000,000 $rowl[11] if $rowl[1] == 0 "data-heading" else "" 18,000,000