taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").text Name of Respondent:

first(list([@ferc:RespondentLegalName @period=$currentDuration])) Duke Energy Kentucky, Inc.
taxonomy().concept(ferc:SubmissionType).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").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/F6Header").text Date of Report:

first(list([@ferc:ReportDate @period=$currentDuration])) 04/26/2019
taxonomy().concept(ferc:ReportYearPeriod).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").text Year/Period of Report:

End of: first(list([@ferc:ReportYear @period=$currentDuration])) 2018 / first(list([@ferc:ReportPeriod @period=$currentDuration])) Q4
$data = navigate parent-child descendants from ferc:AnnualCostOfServiceBasedAnalysisLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F6/AnnualCostOfServiceBasedAnalysis" returns list (target-name, preferred-label); $data-labels = list(for $row in $data $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 == "700 - Schedule - Annual Cost of Service Based Analysis Schedule" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label")).to-list; $page = $concept.label("http://ferc.gov/form/2020-01-01/roles/label/F6PageRange").text; $current = if list([covered @concept = $row[1] @period = $currentDuration]).length > 0 first(list([covered @concept = $row[1] @period = $currentDuration])) else if list([covered @concept = $row[1] @period = $currentInstant]).length > 0 first(list([covered @concept = $row[1] @period = $currentInstant])) else none $prior = if list([covered @concept = $row[1] @period = $priorDuration]).length > 0 first(list([covered @concept = $row[1] @period = $priorDuration])) else if list([covered @concept = $row[1] @period = $priorInstant]).length > 0 first(list([covered @concept = $row[1] @period = $priorInstant])) else none list($concept, $concept.label($row[2].role.uri).text, //Title of Account if exists($page) $page else "", //Page Ref if ($row_num.part-by-name(ferc-part:Row)).length == 0 "" else ($row_num.part-by-name(ferc-part:Row))[1].part-value, $current, $prior )); for $rowl in $data-labels
taxonomy().concept(ferc:ScheduleAnnualCostOfServiceBasedAnalysisScheduleAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6ScheduleTitle").text Annual Cost of Service Based Analysis Schedule
taxonomy().concept(ferc:ScheduleAnnualCostOfServiceBasedAnalysisScheduleAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6Instructions").text
  1. Use footnotes when particulars are required or for any explanations.
  2. Enter on lines 1-9, columns (b) and (c), the value the respondent's Operating and Maintenance Expenses, Depreciation Expense, AFUDC Depreciation, Amortization of Deferred Earnings, Rate Base, Rate of Return, Return, Income Tax Allowance, and Total Cost of Service, respectively, for the end of the current and previous calendar years. The values shall be computed consistent with the Commission's Opinion No. 154-B et al. methodology. Any item(s) not applicable to the filing, the oil pipeline company shall report nothing in columns (b) and (c).
  3. Enter on line 10, columns (b) and (c), total interstate operating revenue, as reported on page 301, for the current and previous calendar years.
  4. Enter on line 11, columns b and c, the interstate throughput in barrels for the current and previous calendar years.
  5. Enter on line 12, columns b and c, the interstate throughput in barrel-miles for the current and previous calendar years.
  6. If the company makes major changes to its application of the Opinion No. 154-B et al. methodology, it must describe such changes in a footnote, and calculate the amounts in columns (b) and (c) of lines No. 1-12 using the changed application.
  7. A respondent may be requested by the Commission or its staff to provide its workpapers which support the data reported on page 700.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleAnnualCostOfServiceBasedAnalysisScheduleAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "700 - Schedule - Annual Cost of Service Based Analysis Schedule") $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] Title of Account
$row (a)
if $rowl[1].is-abstract "" else $rowl[4] 1
$rowl[1].name.local-name
$rowl[2] if $rowl[1].is-abstract "sch-title" else "" Operating and Maintenance Expenses
$rowl[5] if $rowl[1].is-abstract "gray-out" else "" if $rowl[1].is-monetary "monetary_items" else if $rowl[1].data-type.name.local-name == "percentItemType" "percent_items" else "numeric_items" if $rowl[1].data-type.name.local-name == "percentItemType" "-2" else none $rowl[6] if $rowl[1].is-abstract "gray-out" else "" if $rowl[1].is-monetary "monetary_items" else if $rowl[1].data-type.name.local-name == "percentItemType" "percent_items" else "numeric_items" if $rowl[1].data-type.name.local-name == "percentItemType" "-2" else none