A Python code for adjusting periodic soil temperature data

Authors

  • Geilson de Almeida Soares
  • Ana Maria Bersch Domingues
  • Jairo Valões de Alencar Ramalho
  • Honório Joaquim Fernando

Keywords:

Adjustment of Trigonometric Functions, Least Squares, Ground-to-Air Heat Exchangers, Python

Abstract

This work aims to present a code in Python language for adjusting periodic curves from soil temperature simulation data. We present a methodology to obtain a sinusoidal function using the least squares method that represents the soil temperature of a given locality. The code also uses Newton's method to solve the resulting nonlinear system of equations. Soil temperature simulation data were used in a city in the state of Rio Grande do Sul, Brazil. The results of these curves can help in the study and definition of boundary conditions of new computational models of ground-to-air heat exchangers (TCSA). It is observed that the least squares method is not new , but there is a gap in the literature regarding the presentation of codes for the adjustment of trigonometric functions as presented here.

 

DOI:https://doi.org/10.56238/sevened2024.003-046

Published

2024-02-22

How to Cite

A Python code for adjusting periodic soil temperature data. (2024). Seven Editora, 619-626. https://sevenpublicacoes.com.br/editora/article/view/3653