Skip to content

Thermal model#81

Merged
gomezzz merged 21 commits intomainfrom
thermal_model
Jan 2, 2023
Merged

Thermal model#81
gomezzz merged 21 commits intomainfrom
thermal_model

Conversation

@gomezzz
Copy link
Collaborator

@gomezzz gomezzz commented Dec 19, 2022

Description

Implemented a first thermal model based on some simple ODEs.

  • Modelling solar input, albedo, IR from central body , IR emissions from actor and heat due to activities
  • Added example to readme
  • Added test running an activity while going in and out of eclipse
  • Added temperature logging to monitor
  • Added thermal model to ActorBuilder
  • Added temperature display to visualization

Albedo model is very rudimentary currently as I wanted to avoid computing space / Earth / Sun angles to save compute.

An example activity from the test, plots to this, orange line high means Sat is in eclipse. The jumps are due to high timesteps in evaluating the model (to keep the rest running quickly).

temperature_example

Resolved Issues

How Has This Been Tested?

  • New test
  • CI

Related Pull Requests

@gomezzz gomezzz added visualization Code used to visualize the simulation example An example to showcase something feature implementing a new feature user-facing Anything that users can interact with labels Dec 19, 2022
@gomezzz gomezzz marked this pull request as ready for review January 2, 2023 09:43
@gomezzz gomezzz requested a review from johanos1 January 2, 2023 09:45
@gomezzz gomezzz requested a review from johanos1 January 2, 2023 14:08
# Ratio at which activities generate heat
_power_consumption_to_heat_ratio = None

_bolzmann_constant = 5.670374419e-8 # in W m^-2 K^-4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Do you want to add the "t" in Boltzmann?

@gomezzz gomezzz merged commit accaf4f into main Jan 2, 2023
@gomezzz gomezzz deleted the thermal_model branch January 2, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

example An example to showcase something feature implementing a new feature user-facing Anything that users can interact with visualization Code used to visualize the simulation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Thermal Model

2 participants