Metadata-Version: 1.1
Name: yapowf
Version: 0.0.1
Summary: A new Python Power Factory API
Home-page: UNKNOWN
Author: Camilo Romero
Author-email: camilo.romers@gmail.com
License: GNU GPLv3
Description: (YAPOWF) Yet Another Power Factory API
        ======================================
        
        | This project contains a new python - power factory API.
        | It is still in progress…
        
        Connect Power Factory
        =====================
        
        .. code:: python
        
           from yapowf import Network
        
           ## Connect to PF
           credentials = {
               path=r"python_path",
               username=<your_username>,
               password=<if_needed>,
           }
           pf = Network(**credentials)
        
           ## Activate a project
           pf.activate_project("project_name_here")
        
        
           ## Activate a study case
           pf.activate_study_case("studycase_name_here")
        
        
           ## Get grid params
           bus_df = pf.get_bus_params()
           line_df = pf.get_line_params()
           gen_df = pf.get_gen_params()
           trafo3_df = pf.get_3wtrafo_params()
           trafo2_df = pf.get_2wtrafo_params()
           shunt_df = pf.get_shunt_params()
        
        
           ## Search for an element name ??
           ## As easy as:
           search_element_name("elem_name_here", "line")
        
        
           ## Want to run a power flow ??
           res = pf.run_load_flow()
           # And the results ? 
           ld_gen_df = res.gen
           ld_gen_pu_df = res.gen_pu
        
        
           ## Want to run a dynamic simulation ??
           res = pf.run_dynamic_sim()
           # And the results ?
           res_gen_df = res.gen
           res_bus_df = res.bus
        
        
           ## All methods have associated DocStrings
           help(pf.run_dynamic_sim)
        
Keywords: power factory api,digsilent python
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
