Commit 0766b401 by Viviane Sapucaia

Added function to convert standard parameters to fundamental

parent 249585b0
 function [ Lad, Laq, Lfd, L1q, L1d, L2q, Rfd, R1d, R1q, R2q ] = StandardToFundamental( Ld, Lq, Ld_t, Lq_t, Ld_s, Lq_s, Ll, ... Ra, Td0_t, Tq0_t, Td0_s, Tq0_s) %StandardToFundamental converts Standard machine parameters to fundamental % parameters % Detailed explanation goes here Lad = Ld - Ll; Laq = Lq - Ll; Lfd = Lad*(Ld_t - Ll)/(Lad-Ld_t+Ll); L1q = Laq*(Lq_t - Ll)/(Laq-Lq_t+Ll); L1d = Lad*Lfd*(Ld_s-Ll)/(Lfd*Lad-(Lad+Lfd)*(Ld_s-Ll)); L2q = Laq*L1q*(Lq_s-Ll)/(L1q*Laq-(Laq+L1q)*(Lq_s-Ll)); Rfd = (Lad + Lfd)/(Td0_t*377); R1d = (1/(Td0_s*377))*(L1d + Lad*Lfd/(Lad+Lfd)); R1q = (Laq + L1q)/(Tq0_t*377); R2q = (1/(Tq0_s*377))*(L2q + Laq*L1q/(Laq+L1q)); end
 [ Td0_t, Td0_s, Td_t, Td_s, Ld_t, Ld_s, Tq0_t, Tq0_s, ... Lq_t, Lq_s, Ld, Lq ] = ... FundamentalToStandard(0.15, 1.66, 0.165, 0.1713, 0.0284, 0.0006, 1.61, 0.7252, 0.125, 0.0062, 0.0237) % [ Td0_t, Td0_s, Td_t, Td_s, Ld_t, Ld_s, Tq0_t, Tq0_s, ... % Lq_t, Lq_s, Ld, Lq ] = ... % FundamentalToStandard(0.15, 1.66, 0.165, 0.1713, 0.0284, 0.0006, 1.61, 0.7252, 0.125, 0.0062, 0.0237) clear all Ld = 1.81; Ld_t = 0.3; Td0_t = 8; Lq = 1.76; Lq_t = 0.65; Tq0_t =1; Ll = 0.15; Ld_s = 0.23; Td0_s = 0.03; Ra = 0.003; Lq_s = 0.25; Tq0_s = 0.07; [ Lad, Laq, Lfd, L1q, L1d, L2q, Rfd, R1d, R1q, R2q ] = StandardToFundamental( Ld, Lq, Ld_t, Lq_t, Ld_s, Lq_s, Ll, ... Ra, Td0_t, Tq0_t, Td0_s, Tq0_s)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!