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(46) list($i,none,none,none,none,none)); $data = if count(list({covered @ferc:RateScheduleAxis=*})) > 0 list( {covered @ferc:RateScheduleAxis=* {list( if list({@ferc:OrderNumber @unit=* @period = $currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period = $currentDuration})) else 0, if exists({@ferc:AccessionNumber @unit @period = $currentDuration}) first(list({@ferc:AccessionNumber @unit @period = $currentDuration})) else none, if exists({@ferc:DocumentDate @unit @period = $currentDuration}) first(list({@ferc:DocumentDate @unit @period = $currentDuration})) else none, if exists({@ferc:DocketNumber @unit @period = $currentDuration}) first(list({@ferc:DocketNumber @unit @period = $currentDuration})) else none, if exists({@ferc:DescriptionOfFiling @unit @period = $currentDuration}) first(list({@ferc:DescriptionOfFiling @unit @period = $currentDuration})) else none, if exists({@ferc:RateScheduleTariffNumber @unit @period = $currentDuration}) first(list({@ferc:RateScheduleTariffNumber @unit @period = $currentDuration})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0, none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleInformationOnFormulaRatesAAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text INFORMATION ON FORMULA RATES

FERC Rate Schedule/Tariff Number FERC Proceeding
taxonomy().concept(ferc:AnnualFilingsContainingInputsToFormulaRates).label("http://ferc.gov/form/2020-01-01/roles/label/F1FormulaRates").text Does the respondent file with the Commission annual (or more frequent) filings containing the inputs to the formula rate(s)? if missing({covered @concept=ferc:AnnualFilingsContainingInputsToFormulaRates}) ☐ Yes']]> else if [@concept=ferc:AnnualFilingsContainingInputsToFormulaRates] == true☑ Yes']]> else ☐ Yes']]> Yes

if missing({covered @concept=ferc:AnnualFilingsContainingInputsToFormulaRates}) ☑ No (Checked by default - Not explicitly defined)']]> else if [@concept=ferc:AnnualFilingsContainingInputsToFormulaRates] == false☑ No']]> else ☐ No']]> No
taxonomy().concept(ferc:ScheduleInformationOnFormulaRatesAAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
  1. If yes, provide a listing of such filings as contained on the Commission's eLibrary website.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleInformationOnFormulaRatesAAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "106a - Schedule - Information on Formula Rates") $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 $row[3] 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] FERC Rate Schedule or Tariff Number
$row (a)
1 $row[3] 05/15/2012 $row[4] ER12-91-000 $row[5] Formula Rate Annual Update $row[6] PJM OATT, Attachment H-22A