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(28) list($i,none,none,none,none,none,none) ); $data = if count(list({covered @ferc:ExtraordinaryPropertyLossesAxis=*})) > 0 list({covered @ferc:ExtraordinaryPropertyLossesAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:DescriptionOfExtraordinaryPropertyLoss @unit @period=$currentDuration}) first(list({@ferc:DescriptionOfExtraordinaryPropertyLoss @unit @period=$currentDuration})) else none, if exists({@ferc:ExtraordinaryPropertyLossesNotYetRecognized @unit @period=$currentDuration}) first(list({@ferc:ExtraordinaryPropertyLossesNotYetRecognized @unit @period=$currentDuration})) else none, if exists({@ferc:ExtraordinaryPropertyLossesRecognized @unit @period=$currentDuration}) first(list({@ferc:ExtraordinaryPropertyLossesRecognized @unit @period=$currentDuration})) else none, if exists({@ferc:ExtraordinaryPropertyLossesWrittenOffAccountCharged @unit @period=$currentDuration}) first(list({@ferc:ExtraordinaryPropertyLossesWrittenOffAccountCharged @unit @period=$currentDuration})) else none, if exists({@ferc:ExtraordinaryPropertyLossesWrittenOff @unit @period=$currentDuration}) first(list({@ferc:ExtraordinaryPropertyLossesWrittenOff @unit @period=$currentDuration})) else none, if exists({@ferc:ExtraordinaryPropertyLosses @unit @period=$currentInstant}) first(list({@ferc:ExtraordinaryPropertyLosses @unit @period=$currentInstant})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0, none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleExtraordinaryPropertyLossesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text Gas Property And Capacity Leased From Others
WRITTEN OFF DURING YEAR
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleExtraordinaryPropertyLossesAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "230a - Schedule - EXTRAORDINARY PROPERTY LOSSES") $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 of Extraordinary Loss [Include in the description the date of Commission Authorization to use Acc 182.1 and period of amortization (mo, yr to mo, yr).]
$row (a)
1 1 $row[2] ABC Processing Plant Abandonment $row[3] $0 $row[4] $55,036 $row[6] $3,281,566 $row[7] $9,162,981
20 TOTAL first(list([covered @concept=ferc:ExtraordinaryPropertyLossesNotYetRecognized @period = $currentDuration])) $0 first(list([covered @concept=ferc:ExtraordinaryPropertyLossesRecognized @period = $currentDuration])) $55,036 first(list([covered @concept=ferc:ExtraordinaryPropertyLossesWrittenOff @period = $currentDuration])) $3,281,566 first(list([covered @concept=ferc:ExtraordinaryPropertyLosses @period = $currentInstant])) $9,162,981