Searched refs:Xq (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/ts/tutorials/network/output/ |
| H A D | pipes_9.out | 3 Xq:
|
| /petsc/src/ts/tutorials/power_grid/stability_9bus/ |
| H A D | ex9busdmnetwork.c | 34 PetscScalar Xq; /* q-axis reactance Xq(1) set to 0.4360, value given in text 0.0969 */ member 130 …static const PetscScalar Xq[3] = {0.4360, 0.8645, 1.2578}; /* q-axis reactance Xq(1) set to 0.43… in read_data() local 214 gen[i * 3 + j].Xq = Xq[j]; in read_data() 413 delta = atan2(Vi + gen->Xq * IGr, Vr - gen->Xq * IGi); in SetInitialGuess() 605 PetscScalar Xd, Xdp, Td0p, Xq, Xqp, Tq0p, TM, D, M, Rs; /* Generator parameters */ in FormIFunction() local 622 Xq = gen->Xq; in FormIFunction() 635 farr[offsetgen + 1] = (Edp - (Xq - Xqp) * Iq) / Tq0p + xdotarr[offsetgen + 1]; in FormIFunction()
|
| H A D | ex9busadj.c | 37 const PetscScalar Xq[3] = {0.4360, 0.8645, 1.2578}; /* q-axis reactance Xq(1) set to 0.4360, valu… variable 150 delta = PetscAtan2Real(Vi + Xq[i] * IGr, Vr - Xq[i] * IGi); /* Machine angle */ in SetInitialGuess() 254 fgen[idx + 1] = (Edp - (Xq[i] - Xqp[i]) * Iq) / Tq0p[i]; in ResidualFunction() 488 val[1] = -(Xq[i] - Xqp[i]) / Tq0p[i]; in ResidualJacobian()
|
| H A D | ex9busopt.c | 44 const PetscScalar Xq[3] = {0.4360, 0.8645, 1.2578}; /* q-axis reactance Xq(1) set to 0.4360, valu… variable 189 delta = PetscAtan2Real(Vi + Xq[i] * IGr, Vr - Xq[i] * IGi); /* Machine angle */ in SetInitialGuess() 277 delta = PetscAtan2Real(Vi + Xq[i] * IGr, Vr - Xq[i] * IGi); /* Machine angle */ in InitialGuess() 401 fgen[idx + 1] = (Edp - (Xq[i] - Xqp[i]) * Iq) / Tq0p[i]; in ResidualFunction() 632 val[1] = -(Xq[i] - Xqp[i]) / Tq0p[i]; in ResidualJacobian()
|
| H A D | ex9busoptfd.c | 34 const PetscScalar Xq[3] = {0.4360, 0.8645, 1.2578}; /* q-axis reactance Xq(1) set to 0.4360, valu… variable 152 delta = PetscAtan2Real(Vi + Xq[i] * IGr, Vr - Xq[i] * IGi); /* Machine angle */ in SetInitialGuess() 256 fgen[idx + 1] = (Edp - (Xq[i] - Xqp[i]) * Iq) / Tq0p[i]; in ResidualFunction() 489 val[1] = -(Xq[i] - Xqp[i]) / Tq0p[i]; in ResidualJacobian()
|
| H A D | ex9bus.c | 64 const PetscScalar Xq[3] = {0.4360, 0.8645, 1.2578}; /* q-axis reactance Xq(1) set to 0.4360, valu… variable 376 delta = PetscAtan2Real(Vi + Xq[i] * IGr, Vr - Xq[i] * IGi); /* Machine angle */ in SetInitialGuess() 482 fgen[idx + 1] = (-Edp + (Xq[i] - Xqp[i]) * Iq) / Tq0p[i]; in ResidualFunction() 747 val[1] = (Xq[i] - Xqp[i]) / Tq0p[i]; in ResidualJacobian()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 826 PetscScalar *Xq; in DMPlexTransformGetCoordinateFE() local 830 PetscCall(DMPlexTransformGetCellVertices(tr, ct, &Nq, &Xq)); in DMPlexTransformGetCoordinateFE() 832 for (q = 0; q < Nq * cdim; ++q) xq[q] = PetscRealPart(Xq[q]); in DMPlexTransformGetCoordinateFE()
|