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(45) list($i,none,none,none,none,none,none,none,none,none,none,none,none) ); $data = if count(list({covered @ferc:RegulatoryCommissionExpensesAxis=*})) > 0 list({covered @ferc:RegulatoryCommissionExpensesAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:RegulatoryCommissionDescription @unit @period=$currentDuration}) first(list({@ferc:RegulatoryCommissionDescription @unit @period=$currentDuration})) else none, if exists({@ferc:RegulatoryExpensesAssessedByRegulatoryCommission @unit @period=$currentInstant}) first(list({@ferc:RegulatoryExpensesAssessedByRegulatoryCommission @unit @period=$currentInstant})) else none, if exists({@ferc:RegulatoryExpensesOfUtility @unit @period=$currentInstant}) first(list({@ferc:RegulatoryExpensesOfUtility @unit @period=$currentInstant})) else none, if exists({@ferc:RegulatoryCommissionExpensesAmount @unit @period=$currentInstant}) first(list({@ferc:RegulatoryCommissionExpensesAmount @unit @period=$currentInstant})) else none, if exists({@ferc:OtherRegulatoryAssetsRegulatoryCommissionExpenses @unit @period=$priorInstant}) first(list({@ferc:OtherRegulatoryAssetsRegulatoryCommissionExpenses @unit @period=$priorInstant})) else none, if exists({@ferc:NameOfDepartmentRegulatoryCommissionExpensesCharged @unit @period=$currentDuration}) first(list({@ferc:NameOfDepartmentRegulatoryCommissionExpensesCharged @unit @period=$currentDuration})) else none, if exists({@ferc:AccountNumberRegulatoryCommissionExpensesCharged @unit @period=$currentDuration}) first(list({@ferc:AccountNumberRegulatoryCommissionExpensesCharged @unit @period=$currentDuration})) else none, if exists({@ferc:RegulatoryComissionExpensesIncurredAndCharged @unit @period=$currentDuration}) first(list({@ferc:RegulatoryComissionExpensesIncurredAndCharged @unit @period=$currentDuration})) else none, if exists({@ferc:RegulatoryCommissionExpensesDeferredToOtherRegulatoryAssets @unit @period=$currentDuration}) first(list({@ferc:RegulatoryCommissionExpensesDeferredToOtherRegulatoryAssets @unit @period=$currentDuration})) else none, if exists({@ferc:DeferredRegulatoryCommissionExpensesAmortizedInContraAccount @unit @period=$currentDuration}) first(list({@ferc:DeferredRegulatoryCommissionExpensesAmortizedInContraAccount @unit @period=$currentDuration})) else none, if exists({@ferc:DeferredRegulatoryCommissionExpensesAmortized @unit @period=$currentDuration}) first(list({@ferc:DeferredRegulatoryCommissionExpensesAmortized @unit @period=$currentDuration})) else none, if exists({@ferc:OtherRegulatoryAssetsRegulatoryCommissionExpenses @unit @period=$currentInstant}) first(list({@ferc:OtherRegulatoryAssetsRegulatoryCommissionExpenses @unit @period=$currentInstant})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none,none,none,none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleRegulatoryCommissionExpensesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text REGULATORY COMMISSION EXPENSES
taxonomy().concept(ferc:ScheduleRegulatoryCommissionExpensesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
  1. Report particulars (details) of regulatory commission expenses incurred during the current year (or incurred in previous years, if being amortized) relating to format cases before a regulatory body, or cases in which such a body was a party.
  2. Report in columns (b) and (c), only the current year's expenses that are not deferred and the current year's amortization of amounts deferred in previous years.
  3. Show in column (k) any expenses incurred in prior years which are being amortized. List in column (a) the period of amortization.
  4. Identify separately all annual charge adjustments (ACA).
  5. List in column (f), (g), and (h) expenses incurred during year which were charged currently to income, plant, or other accounts.
  6. Minor items (less than $25,000) may be grouped.
EXPENSES INCURRED DURING YEAR AMORTIZED DURING YEAR
CURRENTLY CHARGED TO
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleRegulatoryCommissionExpensesAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "350 - Schedule - Regulatory Commission Expenses") $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] Description
$row (a)
$row[1] 1 $row[2] Kentucky Public Service Commission Expense - Gas Related $row[3] $186,988 $row[4] $0 $row[5] $186,988 $row[6] $0 $row[7] Gas $row[9] $186,988 $row[10] $0 $row[12] $0 $row[13] $0
46 taxonomy().concept(ferc:OtherRegulatoryAssetsRegulatoryCommissionExpenses).label("http://ferc.gov/form/2020-01-01/roles/label/F1Total").text
TOTAL
max(list([covered @concept=ferc:RegulatoryExpensesAssessedByRegulatoryCommission @period = $currentInstant])) $868,971 max(list([covered @concept=ferc:RegulatoryExpensesOfUtility @period = $currentInstant])) $138,071 max(list([covered @concept=ferc:RegulatoryCommissionExpensesAmount @period = $currentInstant])) $1,007,042 max(list([covered @concept=ferc:OtherRegulatoryAssetsRegulatoryCommissionExpenses @period = $priorInstant])) $0 max(list([covered @concept=ferc:RegulatoryComissionExpensesIncurredAndCharged @period = $currentDuration])) $1,007,042 max(list([covered @concept=ferc:RegulatoryCommissionExpensesDeferredToOtherRegulatoryAssets @period = $currentDuration])) $0 max(list([covered @concept=ferc:DeferredRegulatoryCommissionExpensesAmortized @period = $currentDuration])) $0 max(list([covered @concept=ferc:OtherRegulatoryAssetsRegulatoryCommissionExpenses @period = $currentInstant])) $569,764