The first part coded by C is responsible for calculating parameters under the static stability of power system.