Merge pull request #714 from PyPSA/FabianHofmann-patch-1

simplify network: remove 'underground' column to avoid consense error
This commit is contained in:
Fabian Neumann 2023-08-04 07:46:23 +02:00 committed by GitHub
commit 2d050cc9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -613,6 +613,7 @@ if __name__ == "__main__":
"substation_lv",
"substation_off",
"geometry",
"underground",
]
n.buses.drop(remove, axis=1, inplace=True, errors="ignore")
n.lines.drop(remove, axis=1, errors="ignore", inplace=True)