Clear Filters
Clear Filters

How could I go about creating a variable load for a CubeSat at different modes of operation, using conditional logic?

1 view (last 30 days)
I am trying to simulate the power subsystem of my team's cubesat, and I have started a simple simulation. The goal is to measure the power useage of the cubesat over an orbital period. The cubesat has three modes of operation that are relevant here: talking, idle, and imaging mode. I am modelling the loads of each of the subsystems using resistors, solving for their values from the total voltages and the power consumption.
I am stumped on how to approach varying the loads in different modes, I was thinking of using a multi-port switch but I do not think this is what I am looking for. I am looking for some way to use conditional logic (if time within the orbital period is x, turn this branch on, if its x>a, turn this other branch on).

Answers (1)

Dallas Perkins
Dallas Perkins on 19 Apr 2024
Hi Chris,
Stateflow is a great tool to model modes and conditional logic. You could use a Stateflow chart to control values feeding into variable resistors based on mode, or switch on/off different fixed-value resistors. If you know the load wattage you could also use the dynamic load block.

Categories

Find more on Electrical Sensors in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!