SolarPowerSystem

General Mission Analysis Tool

SolarPowerSystem

SolarPowerSystem — A solar power system model

Description

The SolarPowerSystem models a solar power system including power generated as function of time and distance from the sun, and includes shadow modeling by celestial bodies. The model allows you to configure the power generated by the solar arrays, and the power required by the spacecraft bus.

For a complete descripton of how to configure all Resources required for electric propulsion modelling, see the Tutorial named Chapter 12, Electric Propulsion

See Also ElectricTank, ElectricThruster, NuclearPowerSystem

Fields

Field Description
AnnualDecayRate

The annual decay rate of the power system.

Data Type

Real

Allowed Values

0 <=Real <= 100

Access

set

Default Value

5

Units

Percent/Year

Interfaces

GUI, script

BusCoeff1

Coefficient of power required by spacecraft bus.

Data Type

Real

Allowed Values

Real

Access

set

Default Value

0.3

Units

kW

Interfaces

GUI, script

BusCoeff2

Coefficient of power required by spacecraft bus.

Data Type

Real

Allowed Values

Real

Access

set

Default Value

0

Units

kW*AU

Interfaces

GUI, script

BusCoeff3

Coefficient of power required by spacecraft bus.

Data Type

Real

Allowed Values

Real

Access

set

Default Value

0

Units

kw*AU2

Interfaces

GUI, script

EpochFormat

The epoch format for the PowerInitialEpoch field.

Data Type

String

Allowed Values

Valid Epoch format.

Access

set

Default Value

UTCGregorian

Units

N/A

Interfaces

GUI, script

InitialEpoch

The initial epoch of the system used to define power system elapsed lifetime.

Data Type

String

Allowed Values

Valid GMAT Epoch consistent with PowerInitialEpochFormat

Access

set

Default Value

01 Jan 2000 11:59:27.966

Units

N/A

Interfaces

GUI, script

InitialMaxPower

The maximum power generated at the PowerInitialEpoch.

Data Type

Real

Allowed Values

Real >= 0

Access

set

Default Value

1.2

Units

kW

Interfaces

GUI, script

Margin

The required margin between power left after power bus, and power used by the propulsion system.

Data Type

Real

Allowed Values

0 <=Real <= 100

Access

set

Default Value

5

Units

Percent

Interfaces

GUI, script

ShadowBodies

A list of celestial bodies for use in the shadow computation. A body cannot be added more than once.

Data Type

String List

Allowed Values

A list of celestial bodies.

Access

set

Default Value

Earth

Units

N/A

Interfaces

GUI, script

ShadowModel

The model used for shadow computation in the Solar System Power Model.

Data Type

String

Allowed Values

None, DualCone

Access

set

Default Value

DualCone

Units

N/A

Interfaces

GUI, script

SolarCoeff1

Coefficient of power created by solar power system.

Data Type

Real

Allowed Values

Real

Access

set

Default Value

1.32077

Units

See Remarks

Interfaces

GUI, script

SolarCoeff2

Coefficient of power created by solar power system.

Data Type

Real

Allowed Values

Real

Access

set

Default Value

-0.10848

Units

See Remarks

Interfaces

GUI, script

SolarCoeff3

Coefficient of power created by solar power system.

Data Type

Real

Allowed Values

Real

Access

set

Default Value

-0.11665

Units

See Remarks

Interfaces

GUI, script

SolarCoeff4

Coefficient of power created by solar power system.

Data Type

Real

Allowed Values

Real

Access

set

Default Value

0.10843

Units

See Remarks

Interfaces

GUI, script

SolarCoeff5

Coefficient of power created by solar power system.

Data Type

Real

Allowed Values

Real

Access

set

Default Value

-0.01279

Units

See Remarks

Interfaces

GUI, script

GUI

The GUI for the SolarPowerSystem is shown below.

Remarks

Computation of Base Power

The SolarPowerSystem models power degradation as a function of time. You must provide a power system initial epoch, the power generated at that epoch, and an annual power decay rate. Additionally, the AnnualDecayRate field models the power degredation on a per year basis. The base power is computed using

where "tau" is the power AnnualDecayRate, P_0 is InitialMaxPower, and "delta t" is the elapsed time between the simulation epoch and InitialEpoch.

Computation of Bus Power

The power required by the spacecraft bus for all subsystems other than the propulsion system is computed using

where A_Bus, B_Bus, and C_Bus are BusCoeff1, BusCoeff2, and BusCoeff3 respectively and r is the distance from the Sun in Au.

Computation of Power Available for Propulsion

The solar power model scales the base power based on a polynomial function in terms of the solar distance. Total power is compute using

where P_Sun is the percent sun ( full sun is 1.0, no sun is 0.0), r is the distance from the Sun in Au, and C_1 is SolarCoeff1 and so on. Thrust power available for electric propulsion is finaly computed using

Where "delta M" is power Margin.

Shadow Modelling and Discontinuities

Note that when modeling shadows for a solar power system, discontinuities in the force model can occur when the power avialable for propulsion is less than a thruster's minimum useable power setting. As a spacecraft passes from penumbra to umbra, and power avialable for thusting goes to zero, thrust power causes thrust acceleration to discontinuously terminate, causing issues when using adaptive step integrators. In this case, there are a few options. You can configure any itegrator to use fixed step integration by setting the ErrorControl to None. Or you can configure the integrator to continue propagating if a bad step, in this case a small discontinuity, occurs. See the Propagator reference material for more information.

Examples

Create a SolarPowerSystem and attach it to a Spacecraft.

          %  Create the Solar Power System
Create SolarPowerSystem SolarPowerSystem1

%  Create a spacecraft an attach the Solar Power System
Create Spacecraft DefaultSC
DefaultSC.PowerSystem = SolarPowerSystem1

BeginMissionSequence

        

For a complete descripton of how to configure all Resources required for electric propulsion modeling, see the Tutorial named Chapter 12, Electric Propulsion.