It seems like Simulation of Cubesat and eclipse time is not correct

Hello,
I am extending the the cubesat simulation project [open('asbCubeSatVehicleTemplate.sltx')] template with some functions. Therefore I need to know if the sun is in view or not. Fortunately there is a block that calculates it and gives out 1 when sun is in view and 0 when it is not.
But it seems like this is not correct when I compare the boolean to the visualization.
I simulated half an orbit on the dark side of the earth, but in the middle of the simulation the satellite sees the sun again.
Can someone help me to fix this problem mathematecally or doas the visualization is not correct?
Best regards.

Antworten (0)

Kategorien

Mehr zu Aerospace Applications finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2025b

Gefragt:

am 16 Mai 2026 um 14:35

Community Treasure Hunt

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

Start Hunting!

Translated by