Build model statistics¶ API reference for the scripts.build_network_statistics module. The module is responsible for extracting statistics from a user-provided model to validate energy models. Module¶ build_network_statistics ¶ This script reads a PyPSA network and builds reference statistics to be used for comparison. process_network_statistics(inputs, outputs) ¶ Extracts and processes demand, installed capacity, and optimal capacity from the PyPSA network.