Skip to main content
Back to top
Ctrl
+
K
Getting Started
Introduction
Installation
Quick Start
Minimal three node network
Meshed AC-DC example
User Guide
Design
Components
Import and Export
Power Flow
System Optimization
Contingency Analysis
Plotting Networks
Examples
Power System Optimization
Optimization with Linopy
Constraining the total capacity per bus and carrier
Multi Investment Optimization
Two chained reservoirs
Screening curve analysis
Non-linear power flow after LOPF
Redispatch Example with SciGRID network
Security-Constrained Optimisation
Simple electricity market examples
Single Node Capacity Expansion Planning
Transformer with non-trivial phase shift and tap ratio
Unit commitment
Optimization with Linopy - Migrate Extra Functionalities
Sector Coupling
Single Node Sector Coupling
Battery Electric Vehicle Charging
Biomass, synthetic fuels and carbon management
Multi-Link usage: CHP with fixed heat-power ratio
LOPF with coupling to heating sector
Power to Gas with Heat Coupling
Wind Turbine combined with Heat Pump and Water Tank
Other Examples
Network Clustering
Using the statistics module in PyPSA
Demonstrate usage of logging
Replace StorageUnits with fundamental Links and Stores
Flow Plot Example
Stochastic optimisation example
Open-source models using PyPSA
Contributing & Support
Contributing
Support
Troubleshooting
References
API Reference
Networks
pypsa.Network.read_in_default_standard_types
pypsa.Network.static
pypsa.Network.df
pypsa.Network.dynamic
pypsa.Network.pnl
pypsa.Network.to_crs
pypsa.Network.set_snapshots
pypsa.Network.set_investment_periods
pypsa.Network.add
pypsa.Network.madd
pypsa.Network.remove
pypsa.Network.mremove
pypsa.Network.copy
pypsa.Network.branches
pypsa.Network.passive_branches
pypsa.Network.controllable_branches
pypsa.Network.determine_network_topology
pypsa.Network.iterate_components
pypsa.Network.consistency_check
pypsa.Network.meta
pypsa.Network.crs
pypsa.Network.srid
pypsa.Network.snapshots
pypsa.Network.snapshot_weightings
pypsa.Network.investment_periods
pypsa.Network.investment_period_weightings
pypsa.Network.merge
pypsa.Network.import_from_csv_folder
pypsa.Network.export_to_csv_folder
pypsa.Network.import_from_hdf5
pypsa.Network.export_to_hdf5
pypsa.Network.import_from_netcdf
pypsa.Network.export_to_netcdf
pypsa.Network.import_from_pypower_ppc
pypsa.Network.import_from_pandapower_net
pypsa.Network.import_components_from_dataframe
pypsa.Network.import_series_from_dataframe
pypsa.Network.calculate_dependent_values
pypsa.Network.lpf
pypsa.Network.pf
pypsa.Network.graph
pypsa.Network.adjacency_matrix
pypsa.Network.incidence_matrix
pypsa.Network.get_committable_i
pypsa.Network.get_extendable_i
pypsa.Network.get_switchable_as_dense
pypsa.Network.get_non_extendable_i
pypsa.Network.get_active_assets
pypsa.SubNetwork.adjacency_matrix
pypsa.SubNetwork.branches
pypsa.SubNetwork.branches_i
pypsa.SubNetwork.buses
pypsa.SubNetwork.buses_i
pypsa.SubNetwork.calculate_BODF
pypsa.SubNetwork.calculate_B_H
pypsa.SubNetwork.calculate_PTDF
pypsa.SubNetwork.calculate_Y
pypsa.SubNetwork.find_bus_controls
pypsa.SubNetwork.find_slack_bus
pypsa.SubNetwork.generators
pypsa.SubNetwork.generators_i
pypsa.SubNetwork.graph
pypsa.SubNetwork.incidence_matrix
pypsa.SubNetwork.iterate_components
pypsa.SubNetwork.lines_i
pypsa.SubNetwork.loads
pypsa.SubNetwork.loads_i
pypsa.SubNetwork.lpf
pypsa.SubNetwork.pf
pypsa.SubNetwork.shunt_impedances
pypsa.SubNetwork.shunt_impedances_i
pypsa.SubNetwork.storage_units
pypsa.SubNetwork.storage_units_i
pypsa.SubNetwork.stores_i
pypsa.SubNetwork.transformers_i
Power Flow
pypsa.Network.calculate_dependent_values
pypsa.Network.lpf
pypsa.Network.pf
pypsa.SubNetwork.lpf
pypsa.SubNetwork.pf
pypsa.SubNetwork.find_bus_controls
pypsa.SubNetwork.find_slack_bus
pypsa.SubNetwork.calculate_Y
pypsa.SubNetwork.calculate_PTDF
pypsa.SubNetwork.calculate_B_H
pypsa.pf.aggregate_multi_graph
pypsa.pf.apply_line_types
pypsa.pf.apply_transformer_t_model
pypsa.pf.apply_transformer_types
pypsa.pf.find_cycles
pypsa.pf.find_tree
pypsa.pf.network_batch_lpf
pypsa.pf.network_lpf
pypsa.pf.network_pf
pypsa.pf.newton_raphson_sparse
pypsa.pf.sub_network_pf_singlebus
pypsa.pf.wye_to_delta
Optimisation
pypsa.optimization.optimize.OptimizationAccessor.__call__
pypsa.optimization.optimize.OptimizationAccessor.create_model
pypsa.optimization.optimize.OptimizationAccessor.solve_model
pypsa.optimization.optimize.OptimizationAccessor.assign_solution
pypsa.optimization.optimize.OptimizationAccessor.assign_duals
pypsa.optimization.optimize.OptimizationAccessor.post_processing
pypsa.optimization.optimize.OptimizationAccessor.optimize_transmission_expansion_iteratively
pypsa.optimization.optimize.OptimizationAccessor.optimize_security_constrained
pypsa.optimization.optimize.OptimizationAccessor.optimize_with_rolling_horizon
pypsa.optimization.optimize.OptimizationAccessor.optimize_mga
pypsa.optimization.optimize.OptimizationAccessor.optimize_and_run_non_linear_powerflow
pypsa.optimization.optimize.OptimizationAccessor.fix_optimal_capacities
pypsa.optimization.optimize.OptimizationAccessor.fix_optimal_dispatch
pypsa.optimization.optimize.OptimizationAccessor.add_load_shedding
Contingency Analysis
pypsa.Network.lpf
pypsa.SubNetwork.calculate_BODF
Statistics
pypsa.statistics.StatisticsAccessor.capex
pypsa.statistics.StatisticsAccessor.installed_capex
pypsa.statistics.StatisticsAccessor.expanded_capex
pypsa.statistics.StatisticsAccessor.optimal_capacity
pypsa.statistics.StatisticsAccessor.installed_capacity
pypsa.statistics.StatisticsAccessor.expanded_capacity
pypsa.statistics.StatisticsAccessor.opex
pypsa.statistics.StatisticsAccessor.supply
pypsa.statistics.StatisticsAccessor.withdrawal
pypsa.statistics.StatisticsAccessor.transmission
pypsa.statistics.StatisticsAccessor.energy_balance
pypsa.statistics.StatisticsAccessor.curtailment
pypsa.statistics.StatisticsAccessor.capacity_factor
pypsa.statistics.StatisticsAccessor.revenue
pypsa.statistics.StatisticsAccessor.market_value
pypsa.statistics.Groupers.get_carrier
pypsa.statistics.Groupers.get_bus_and_carrier
pypsa.statistics.Groupers.get_name_bus_and_carrier
pypsa.statistics.Groupers.get_country_and_carrier
pypsa.statistics.Groupers.get_carrier_and_bus_carrier
pypsa.statistics.Groupers.get_bus_and_carrier_and_bus_carrier
pypsa.statistics.Groupers.get_bus_unit_and_carrier
Plots
pypsa.Network.plot
pypsa.Network.iplot
pypsa.plot.add_legend_circles
pypsa.plot.add_legend_patches
pypsa.plot.add_legend_lines
Clustering
pypsa.clustering.ClusteringAccessor.busmap_by_hac
pypsa.clustering.ClusteringAccessor.busmap_by_kmeans
pypsa.clustering.ClusteringAccessor.busmap_by_greedy_modularity
pypsa.clustering.ClusteringAccessor.cluster_spatially_by_hac
pypsa.clustering.ClusteringAccessor.cluster_spatially_by_kmeans
pypsa.clustering.ClusteringAccessor.cluster_spatially_by_greedy_modularity
pypsa.clustering.ClusteringAccessor.cluster_by_busmap
pypsa.clustering.ClusteringAccessor.get_clustering_from_busmap
Example Networks
pypsa.examples.ac_dc_meshed
pypsa.examples.storage_hvdc
pypsa.examples.scigrid_de
Release Notes
Citing
Users
Developers
.rst
.pdf
pypsa.SubNetwork.buses
Contents
SubNetwork.buses()
pypsa.SubNetwork.buses
#
SubNetwork.
buses
(
)
→
DataFrame
#
Contents
SubNetwork.buses()