@jjlmoya/utils-science 1.24.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/package.json +1 -1
  2. package/src/category/index.ts +2 -1
  3. package/src/entries.ts +3 -1
  4. package/src/index.ts +1 -0
  5. package/src/tests/locale_completeness.test.ts +2 -2
  6. package/src/tests/tool_validation.test.ts +2 -2
  7. package/src/tool/lorenz-attractor/i18n/es.ts +12 -4
  8. package/src/tool/lorenz-attractor/lorenz-attractor.css +56 -25
  9. package/src/tool/stellar-habitability-zone/bibliography.astro +14 -0
  10. package/src/tool/stellar-habitability-zone/bibliography.ts +12 -0
  11. package/src/tool/stellar-habitability-zone/component.astro +123 -0
  12. package/src/tool/stellar-habitability-zone/dom-updater.ts +94 -0
  13. package/src/tool/stellar-habitability-zone/entry.ts +26 -0
  14. package/src/tool/stellar-habitability-zone/i18n/de.ts +189 -0
  15. package/src/tool/stellar-habitability-zone/i18n/en.ts +189 -0
  16. package/src/tool/stellar-habitability-zone/i18n/es.ts +189 -0
  17. package/src/tool/stellar-habitability-zone/i18n/fr.ts +189 -0
  18. package/src/tool/stellar-habitability-zone/i18n/id.ts +189 -0
  19. package/src/tool/stellar-habitability-zone/i18n/it.ts +189 -0
  20. package/src/tool/stellar-habitability-zone/i18n/ja.ts +189 -0
  21. package/src/tool/stellar-habitability-zone/i18n/ko.ts +189 -0
  22. package/src/tool/stellar-habitability-zone/i18n/nl.ts +189 -0
  23. package/src/tool/stellar-habitability-zone/i18n/pl.ts +189 -0
  24. package/src/tool/stellar-habitability-zone/i18n/pt.ts +189 -0
  25. package/src/tool/stellar-habitability-zone/i18n/ru.ts +189 -0
  26. package/src/tool/stellar-habitability-zone/i18n/sv.ts +189 -0
  27. package/src/tool/stellar-habitability-zone/i18n/tr.ts +189 -0
  28. package/src/tool/stellar-habitability-zone/i18n/zh.ts +189 -0
  29. package/src/tool/stellar-habitability-zone/index.ts +11 -0
  30. package/src/tool/stellar-habitability-zone/interaction.ts +45 -0
  31. package/src/tool/stellar-habitability-zone/logic/StellarHabitabilityEngine.ts +158 -0
  32. package/src/tool/stellar-habitability-zone/renderer.ts +241 -0
  33. package/src/tool/stellar-habitability-zone/script.ts +273 -0
  34. package/src/tool/stellar-habitability-zone/seo.astro +15 -0
  35. package/src/tool/stellar-habitability-zone/stellar-habitability-zone.css +375 -0
  36. package/src/tools.ts +2 -0
@@ -0,0 +1,189 @@
1
+ import { bibliography } from '../bibliography';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ const slug = 'habitable-zonen-simulator';
5
+ const description = 'Berechnen und visualisieren Sie die habitable Zone (Goldlöckchen-Zone) um verschiedene Sterntypen mithilfe von stellaren und planetaren Konfigurationen.';
6
+ const title = 'Habitable Zonen Simulator: Goldlöckchen Zonen finden';
7
+
8
+ const howTo = [
9
+ {
10
+ name: 'Stellaren Pre-Set auswählen',
11
+ text: 'Wählen Sie einen Sterntyp von Blauen Riesen bis hin zu Roten Zwergen aus, um physikalische Standardeigenschaften wie Masse, Leuchtkraft und Temperatur zu laden.',
12
+ },
13
+ {
14
+ name: 'Planetare Parameter anpassen',
15
+ text: 'Verändern Sie die Orbitaldistanz des Planeten (große Halbachse), das Albedo und den Treibhauseffekt der Atmosphäre mithilfe der interaktiven Schieberegler.',
16
+ },
17
+ {
18
+ name: 'Umlaufbahn und Habitabilität analysieren',
19
+ text: 'Beobachten Sie den Planeten in Echtzeit auf seiner Umlaufbahn. Prüfen Sie, ob die Gleichgewichts- und Oberflächentemperaturen flüssiges Wasser zulassen.',
20
+ },
21
+ ];
22
+
23
+ const faq = [
24
+ {
25
+ question: 'Was ist die zirkumstellare habitable Zone?',
26
+ answer: 'Die zirkumstellare habitable Zone (oft auch als Goldlöckchen-Zone bezeichnet) ist der Bereich um einen Stern, in dem die Temperaturen auf der Planetenoberfläche ausreichen, um flüssiges Wasser unter einem bestimmten Atmosphärendruck aufrechtzuerhalten. Sie wird durch konservative und optimistische Grenzen definiert, die auf der Leuchtkraft und der Effektivtemperatur des Sterns basieren.',
27
+ },
28
+ {
29
+ question: 'Wie beeinflusst die Leuchtkraft eines Sterns die habitable Zone?',
30
+ answer: 'Die Leuchtkraft des Sterns bestimmt die Gesamtenergieabgabe des Sterns. Heißere und massereichere Sterne (wie O-, B- oder A-Sterne) sind extrem hell, wodurch ihre habitablen Zonen viel weiter entfernt liegen. Kühlere, weniger massereiche Sterne (wie orangefarbene oder rote Zwerge vom Typ K oder M) weisen eine geringe Leuchtkraft auf, was ihre habitablen Zonen extrem nah an den Stern verschiebt.',
31
+ },
32
+ {
33
+ question: 'Was ist der Unterschied zwischen Gleichgewichts- und Oberflächentemperatur?',
34
+ answer: 'Die Gleichgewichtstemperatur ist die theoretische Temperatur, die ein Planet hätte, wenn man annimmt, dass er sich wie ein Schwarzer Körper verhält, der die Sternstrahlung absorbiert und wieder in den Weltraum abgibt. Die Oberflächentemperatur schließt den Treibhauseffekt der Planetenatmosphäre ein, der Wärme speichert und den Planeten weiter erwärmt.',
35
+ },
36
+ {
37
+ question: 'Warum ist die Albedo für die planetare Habitabilität wichtig?',
38
+ answer: 'Die Albedo ist das Maß für das Reflexionsvermögen der Planetenoberfläche. Eine höhere Albedo (nahe 1.0) bedeutet, dass der Planet mehr des einfallenden Sternenlichts reflektiert, was ihn abkühlt. Eine niedrigere Albedo bedeutet, dass mehr Strahlung absorbiert wird, was die Gesamttemperatur erhöht.',
39
+ },
40
+ ];
41
+
42
+ export const content: ToolLocaleContent = {
43
+ slug,
44
+ title,
45
+ description,
46
+ ui: {
47
+ title: 'Habitable Zonen Simulator',
48
+ starPresetsLabel: 'Spektralklassen-Presets',
49
+ customStarHeader: 'Stellare Parameter',
50
+ starTemperature: 'Effektivtemperatur (K)',
51
+ starLuminosity: 'Leuchtkraft (L/L⊙)',
52
+ starMass: 'Masse (M/M⊙)',
53
+ starRadius: 'Radius (R/R⊙)',
54
+ planetHeader: 'Planetare Parameter',
55
+ planetDistance: 'Orbitaldistanz (AE)',
56
+ planetAlbedo: 'Bond-Albedo',
57
+ greenhouseDelta: 'Treibhauserwärmung (K)',
58
+ resultsHeader: 'Simulationsergebnisse',
59
+ stellarFluxResult: 'Empfangener Strahlungsfluss',
60
+ eqTempResult: 'Gleichgewichtstemperatur',
61
+ surfTempResult: 'Geschätzte Oberflächentemperatur',
62
+ orbitPeriodResult: 'Umlaufzeit',
63
+ orbitVelocityResult: 'Bahngeschwindigkeit',
64
+ hzLimitsHeader: 'Grenzen der habitablen Zone',
65
+ innerLimit: 'Konservative Innengrenze',
66
+ outerLimit: 'Konservative Außengrenze',
67
+ optInnerLimit: 'Optimistische Innengrenze',
68
+ optOuterLimit: 'Optimistische Außengrenze',
69
+ orbitCanvasTitle: 'Interaktiver Orbit-Visualisierer',
70
+ statusLabel: 'Habitabilitätsstatus',
71
+ statusTooHot: 'ZU HEISS (Wasser verdampft)',
72
+ statusHabitable: 'HABITABEL (Flüssiges Wasser möglich)',
73
+ statusTooCold: 'ZU KALT (Wasser gefriert)',
74
+ statusExplanation: 'Basierend auf konservativen Grenzen liegt dieser Planet innerhalb des angegebenen habitablen Zonenstatus.',
75
+ unitsLabel: 'Einheitensystem',
76
+ unitsScientific: 'Wissenschaftlich',
77
+ unitsImperial: 'Imperial',
78
+ },
79
+ seo: [
80
+ {
81
+ type: 'title',
82
+ text: 'ASTROBIOLOGIE: Physik stellarer habitabler Zonen',
83
+ level: 2,
84
+ },
85
+ {
86
+ type: 'paragraph',
87
+ html: 'Die Suche nach Leben außerhalb der Erde beginnt mit dem Verständnis der physikalischen Bedingungen, die für flüssiges Wasser erforderlich sind. Astrobiologen nutzen mathematische Modelle, um die Grenzen habitabler Zonen um verschiedene Sterntypen zu kartieren. Dieser Simulator verwendet die Modelle von Kopparapu et al. (2013), um den von Planeten empfangenen Energiefluss abzuschätzen und festzustellen, ob sie in der Goldlöckchen-Zone liegen. Die habitable Zone ist definiert als die Region, in der ein erdgroßer Planet mit einer CO2-H2O-N2-Atmosphäre flüssiges Wasser auf seiner Oberfläche halten kann.',
88
+ },
89
+ {
90
+ type: 'title',
91
+ text: 'Mathematische Formeln und atmosphärische Physik',
92
+ level: 3,
93
+ },
94
+ {
95
+ type: 'paragraph',
96
+ html: 'Die Grenzen der habitablen Zone werden bestimmt, indem der effektive stellare Strahlungsfluss (Seff) berechnet wird, der erforderlich ist, um einen unkontrollierbaren Treibhauseffekt oder ein Maximum-Treibhaus-Szenario auszulösen. Die Gleichung für Seff hängt von der Effektivtemperatur des Sterns (Teff) ab:<br><br>Seff = SeffSun + a * T* + b * T*^2 + c * T*^3 + d * T*^4<br><br>wobei T* = Teff - 5780 K ist und die Koeffizienten (a, b, c, d) empirisch aus 1D-Strahlungs-Konvektions-Klimamodellen abgeleitet wurden. Nach der Berechnung von Seff ist der Orbitalabstand d in Astronomischen Einheiten (AE) gegeben durch:<br><br>d = sqrt(L / Seff)<br><br>wobei L die Leuchtkraft des Sterns im Verhältnis zur Sonne ist. Die Gleichgewichtstemperatur (Teq) des Planeten wird unter der Annahme berechnet, dass sich der Planet wie ein kugelförmiger Schwarzer Körper im thermischen Gleichgewicht verhält:<br><br>Teq = Teff * sqrt(R* / 2d) * (1 - A)^0.25 = 278.5 * (S * (1 - A))^0.25<br><br>wobei R* der Sternradius, A die planetare Bond-Albedo und S der empfangene stellare Fluss in Einheiten der Solarkonstante der Erde ist.',
97
+ },
98
+ {
99
+ type: 'title',
100
+ text: 'Spektralklassifikation und habitable Grenzen',
101
+ level: 3,
102
+ },
103
+ {
104
+ type: 'paragraph',
105
+ html: 'Die Eigenschaften von Sternen variieren je nach Spektraltyp erheblich. Hier ist eine Zusammenfassung der typischen Eigenschaften und HZ-Grenzen:',
106
+ },
107
+ {
108
+ type: 'table',
109
+ headers: [
110
+ 'Spektralklasse',
111
+ 'Temperatur (K)',
112
+ 'Leuchtkraft (L/L⊙)',
113
+ 'HZ Innengrenze (AE)',
114
+ 'HZ Außengrenze (AE)',
115
+ ],
116
+ rows: [
117
+ ['O-Typ Riese', '40.000', '100.000', '300.0', '530.0'],
118
+ ['B-Typ Riese', '20.000', '1.000', '30.1', '53.2'],
119
+ ['A-Typ Sirius', '8.500', '20.0', '4.2', '7.4'],
120
+ ['F-Type Procyon', '6.500', '2.5', '1.5', '2.6'],
121
+ ['G-Typ Sonne', '5.778', '1.0', '0.95', '1.67'],
122
+ ['K-Typ Zwerg', '4.500', '0.15', '0.37', '0.65'],
123
+ ['M-Typ Zwerg', '3.200', '0.01', '0.09', '0.17'],
124
+ ],
125
+ },
126
+ {
127
+ type: 'title',
128
+ text: 'Einfluss der Spektralklasse auf die Habitabilität',
129
+ level: 3,
130
+ },
131
+ {
132
+ type: 'paragraph',
133
+ html: 'Jede Spektralklasse schafft eine einzigartige Strahlungs- und Gravitationsumgebung für ihre Planeten:<br><br><strong>O- und B-Typ-Sterne:</strong> Diese massereichen blauen Sterne senden intensive ultraviolette (UV) Strahlung aus und haben eine extrem kurze Lebensdauer (zehn Millionen Jahre). Flüssiges Wasser könnte zwar auf ihren äußeren Welten existieren, aber das Leben hätte nicht genug Zeit, um sich zu entwickeln, bevor der Stern in einer Supernova explodiert.<br><br><strong>A- und F-Typ-Sterne:</strong> Diese Sterne sind heller und heißer als die Sonne. Ihre habitablen Zonen sind breit und weit entfernt, was die Effekte einer gebundenen Rotation minimiert. Ein hohes Maß an naher UV-Strahlung kann jedoch ohne schützende Ozonschicht schwere Schäden an organischen Molekülen verursachen.<br><br><strong>G-Typ-Sterne (sonnenähnlich):</strong> Diese Sterne bieten über Milliarden von Jahren einen stabilen Strahlungsfluss und sind das primäre Ziel bei der Suche nach Leben. Ihre Strahlung entspricht den Standardbedingungen der Biochemie.<br><br><strong>K-Typ-Sterne (orangefarbene Zwerge):</strong> Von vielen Astrobiologen als "superhabitable" Wirte angesehen. Orangefarbene Zwerge leben Dutzende Milliarden Jahre, emittieren weniger schädliche UV-Strahlung als G-Sterne und neigen nicht zu den heftigen Strahlungsausbrüchen junger M-Zwerge.<br><br><strong>M-Typ-Sterne (rote Zwerge):</strong> Die häufigsten Sterne in der Galaxie. Da ihre habitablen Zonen extrem nah am Stern liegen (typischerweise < 0,2 AE), neigen Planeten zu einer gebundenen Rotation (eine Seite zeigt permanent zum Stern). Zudem erzeugen aktive M-Zwerge hochenergetische Sternwinde und Flares, die Planetenatmosphären wegpusten können.',
134
+ },
135
+ {
136
+ type: 'title',
137
+ text: 'Kritische Faktoren in planetaren habitablen Umgebungen',
138
+ level: 3,
139
+ },
140
+ {
141
+ type: 'paragraph',
142
+ html: 'Die physikalische Umgebung eines Planeten wird durch eine Vielzahl von Variablen geformt, die über die reine Entfernung von seinem Zentralstern hinausgehen:',
143
+ },
144
+ {
145
+ type: 'list',
146
+ items: [
147
+ '<strong>Atmosphärischer Treibhauseffekt:</strong> Natürliche Treibhausgase erhöhen die Oberflächentemperatur über das Gleichgewichtsniveau eines Schwarzen Körpers. Gesteinsplaneten benötigen Carbonat-Silicat-Zyklen, um das atmosphärische CO2 zu stabilisieren und die Temperaturen über geologische Zeiträume hinweg zu regulieren.',
148
+ '<strong>Planetare Bond-Albedo:</strong> Ein hohes Reflexionsvermögen (durch Wolken, Eiskappen oder Sulfataerosole) kühlt den Planeten ab, während eine niedrige Albedo (dunkle Böden, Wassermassen) mehr Sternenergie einfängt.',
149
+ '<strong>Magnetfelder:</strong> Eine starke planetare Magnetosphäre schützt die Atmosphäre vor Sonnen- und Sternwinden und verhindert den nicht-thermischen Verlust von Atmosphäre und Wasser.',
150
+ '<strong>Kältefallen-Dynamik:</strong> Der Kältefalleneffekt in der oberen Atmosphäre verhindert, dass Wasserdampf große Höhen erreicht, in denen die solare UV-Strahlung das Wasser in Wasserstoff und Sauerstoff spalten würde.',
151
+ ],
152
+ },
153
+ ],
154
+ faq,
155
+ bibliography,
156
+ howTo,
157
+ schemas: [
158
+ {
159
+ '@context': 'https://schema.org',
160
+ '@type': 'SoftwareApplication',
161
+ name: title,
162
+ description: description,
163
+ applicationCategory: 'ScientificApplication',
164
+ operatingSystem: 'Any',
165
+ },
166
+ {
167
+ '@context': 'https://schema.org',
168
+ '@type': 'FAQPage',
169
+ mainEntity: faq.map((item) => ({
170
+ '@type': 'Question',
171
+ name: item.question,
172
+ acceptedAnswer: {
173
+ '@type': 'Answer',
174
+ text: item.answer,
175
+ },
176
+ })),
177
+ },
178
+ {
179
+ '@context': 'https://schema.org',
180
+ '@type': 'HowTo',
181
+ name: title,
182
+ step: howTo.map((step) => ({
183
+ '@type': 'HowToStep',
184
+ name: step.name,
185
+ text: step.text,
186
+ })),
187
+ },
188
+ ],
189
+ };
@@ -0,0 +1,189 @@
1
+ import { bibliography } from '../bibliography';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ const slug = 'stellar-habitability-zone';
5
+ const description = 'Calculate and visualize the habitable zones (Goldilocks zone) around different types of stars using stellar and planetary configurations.';
6
+ const title = 'Stellar Habitable Zone Simulator: Find Goldilocks Zones';
7
+
8
+ const howTo = [
9
+ {
10
+ name: 'Select a Stellar Preset',
11
+ text: 'Pick a stellar type from Blue Giants to Red Dwarfs to load standard physical properties like mass, luminosity, and temperature.',
12
+ },
13
+ {
14
+ name: 'Adjust Planetary Parameters',
15
+ text: 'Modify the planet\'s orbital distance (semi-major axis), albedo, and atmospheric greenhouse warming effect using the interactive sliders.',
16
+ },
17
+ {
18
+ name: 'Analyze the Orbit and Habitability',
19
+ text: 'Observe the planet orbiting the star in real-time. Check whether the equilibrium and surface temperatures support liquid water.',
20
+ },
21
+ ];
22
+
23
+ const faq = [
24
+ {
25
+ question: 'What is the circumstellar habitable zone?',
26
+ answer: 'The circumstellar habitable zone (often called the Goldilocks zone) is the region around a star where planetary-surface temperatures are sufficient to maintain liquid water under a given atmospheric pressure. It is defined by conservative and optimistic boundaries based on stellar luminosity and effective temperature.',
27
+ },
28
+ {
29
+ question: 'How does stellar luminosity affect the habitable zone?',
30
+ answer: 'Stellar luminosity determines the total energy output of the star. Hotter and more massive stars (like O, B, or A-type stars) are extremely bright, placing their habitable zones much farther away. Cooler, less massive stars (like K or M-type red dwarfs) have low luminosities, shifting their habitable zones extremely close to the star.',
31
+ },
32
+ {
33
+ question: 'What is the difference between equilibrium and surface temperature?',
34
+ answer: 'Equilibrium temperature is the theoretical temperature a planet would have assuming it behaves as a blackbody absorbing stellar radiation and re-radiating it back to space. Surface temperature includes the greenhouse effect of the planet\'s atmosphere, which traps heat and warms the planet further.',
35
+ },
36
+ {
37
+ question: 'Why is albedo important for planetary habitability?',
38
+ answer: 'Albedo is the measure of reflectivity of the planet\'s surface. A higher albedo (closer to 1.0) means the planet reflects more incoming stellar light, cooling it down. A lower albedo means more radiation is absorbed, raising its overall temperature.',
39
+ },
40
+ ];
41
+
42
+ export const content: ToolLocaleContent = {
43
+ slug,
44
+ title,
45
+ description,
46
+ ui: {
47
+ title: 'Stellar Habitable Zone Simulator',
48
+ starPresetsLabel: 'Spectral Presets',
49
+ customStarHeader: 'Stellar Parameters',
50
+ starTemperature: 'Effective Temperature (K)',
51
+ starLuminosity: 'Luminosity (L/L⊙)',
52
+ starMass: 'Mass (M/M⊙)',
53
+ starRadius: 'Radius (R/R⊙)',
54
+ planetHeader: 'Planetary Parameters',
55
+ planetDistance: 'Orbital Distance (AU)',
56
+ planetAlbedo: 'Bond Albedo',
57
+ greenhouseDelta: 'Greenhouse Warming (K)',
58
+ resultsHeader: 'Simulation Results',
59
+ stellarFluxResult: 'Stellar Flux Received',
60
+ eqTempResult: 'Equilibrium Temperature',
61
+ surfTempResult: 'Estimated Surface Temperature',
62
+ orbitPeriodResult: 'Orbital Period',
63
+ orbitVelocityResult: 'Orbital Velocity',
64
+ hzLimitsHeader: 'Habitable Zone Boundaries',
65
+ innerLimit: 'Conservative Inner Limit',
66
+ outerLimit: 'Conservative Outer Limit',
67
+ optInnerLimit: 'Optimistic Inner Limit',
68
+ optOuterLimit: 'Optimistic Outer Limit',
69
+ orbitCanvasTitle: 'Interactive Orbit Visualizer',
70
+ statusLabel: 'Habitability Status',
71
+ statusTooHot: 'TOO HOT (Water vaporizes)',
72
+ statusHabitable: 'HABITABLE (Liquid water possible)',
73
+ statusTooCold: 'TOO COLD (Water freezes)',
74
+ statusExplanation: 'Based on conservative boundaries, this planet lies within the specified habitable zone status.',
75
+ unitsLabel: 'Unit System',
76
+ unitsScientific: 'Scientific',
77
+ unitsImperial: 'Imperial',
78
+ },
79
+ seo: [
80
+ {
81
+ type: 'title',
82
+ text: 'ASTROBIOLOGY: Physics of Stellar Habitable Zones',
83
+ level: 2,
84
+ },
85
+ {
86
+ type: 'paragraph',
87
+ html: 'The search for life beyond Earth begins with understanding the physical conditions required for liquid water. Astrobiologists use mathematical models to map the boundaries of habitable zones around different star types. This simulator uses the Kopparapu et al. (2013) models to estimate the energy flux received by planets and determine if they lie in the Goldilocks zone. The habitable zone is defined as the region where a terrestrial-mass planet with a CO2-H2O-N2 atmosphere can maintain liquid water on its surface.',
88
+ },
89
+ {
90
+ type: 'title',
91
+ text: 'Mathematical Formulas and Atmospheric Physics',
92
+ level: 3,
93
+ },
94
+ {
95
+ type: 'paragraph',
96
+ html: 'The boundaries of the habitable zone are determined by calculating the effective stellar flux (Seff) required to trigger runaway or maximum greenhouse conditions. The equation for Seff depends on the star\'s effective temperature (Teff):<br><br>Seff = SeffSun + a * T* + b * T*^2 + c * T*^3 + d * T*^4<br><br>where T* = Teff - 5780 K, and the coefficients (a, b, c, d) are empirically derived from 1D radiative-convective climate models. Once Seff is computed, the orbital distance d in astronomical units (AU) is given by:<br><br>d = sqrt(L / Seff)<br><br>where L is the star\'s luminosity relative to the Sun. The equilibrium temperature (Teq) of the planet is calculated assuming a spherical blackbody in thermal equilibrium:<br><br>Teq = Teff * sqrt(R* / 2d) * (1 - A)^0.25 = 278.5 * (S * (1 - A))^0.25<br><br>where R* is the stellar radius, A is the planetary bond albedo, and S is the received stellar flux in units of Earth\'s solar constant.',
97
+ },
98
+ {
99
+ type: 'title',
100
+ text: 'Spectral Classification and Habitable Boundaries',
101
+ level: 3,
102
+ },
103
+ {
104
+ type: 'paragraph',
105
+ html: 'Stellar characteristics vary widely across spectral types. Here is a summary of typical properties and HZ boundaries:',
106
+ },
107
+ {
108
+ type: 'table',
109
+ headers: [
110
+ 'Spectral Class',
111
+ 'Temperature (K)',
112
+ 'Luminosity (L/L⊙)',
113
+ 'HZ Inner Limit (AU)',
114
+ 'HZ Outer Limit (AU)',
115
+ ],
116
+ rows: [
117
+ ['O-Type Giant', '40,000', '100,000', '300.0', '530.0'],
118
+ ['B-Type Giant', '20,000', '1,000', '30.1', '53.2'],
119
+ ['A-Type Sirius', '8,500', '20.0', '4.2', '7.4'],
120
+ ['F-Type Procyon', '6,500', '2.5', '1.5', '2.6'],
121
+ ['G-Type Sun', '5,778', '1.0', '0.95', '1.67'],
122
+ ['K-Type Dwarf', '4,500', '0.15', '0.37', '0.65'],
123
+ ['M-Type Dwarf', '3,200', '0.01', '0.09', '0.17'],
124
+ ],
125
+ },
126
+ {
127
+ type: 'title',
128
+ text: 'Detailed Spectral Class Impact on Habitability',
129
+ level: 3,
130
+ },
131
+ {
132
+ type: 'paragraph',
133
+ html: 'Each spectral class creates a unique radiation and gravitational environment for its planets:<br><br><strong>O and B-Type Stars:</strong> These massive blue stars emit intense ultraviolet (UV) radiation and have extremely short lifespans (tens of millions of years). Liquid water might exist on their outer worlds, but life would have insufficient time to evolve before the star undergoes a supernova explosion.<br><br><strong>A and F-Type Stars:</strong> These stars are brighter and hotter than the Sun. Their habitable zones are wide and far out, minimizing the effects of tidal locking. However, high levels of near-UV radiation can cause severe damage to organic molecules without a protective ozone layer.<br><br><strong>G-Type Stars (Sun-like):</strong> Providing a stable luminous flux for billions of years, these stars represent the primary targets for life searches. Their radiation output matches standard biochemistry requirements.<br><br><strong>K-Type Stars (Orange Dwarfs):</strong> Considered by many astrobiologists as the "superhabitable" hosts, orange dwarfs live for tens of billions of years, emit less harmful UV than G-type stars, and are not as prone to the severe flaring associated with younger M-dwarfs.<br><br><strong>M-Type Stars (Red Dwarfs):</strong> The most common stars in the galaxy. Because their habitable zones lie extremely close (typically < 0.2 AU), planets are prone to tidal locking, meaning one side permanently faces the star. Additionally, active M-dwarfs produce high-energy stellar winds and flares that can strip planetary atmospheres.',
134
+ },
135
+ {
136
+ type: 'title',
137
+ text: 'Critical Factors in Planetary Habitable Environments',
138
+ level: 3,
139
+ },
140
+ {
141
+ type: 'paragraph',
142
+ html: 'A planet\'s physical environment is shaped by multiple variables beyond just distance from its host star:',
143
+ },
144
+ {
145
+ type: 'list',
146
+ items: [
147
+ '<strong>Atmospheric Greenhouse Effect:</strong> Natural greenhouse gases raise the surface temperature above the blackbody equilibrium level. Terrestrial planets require carbon-silicate cycles to stabilize atmospheric CO2 and regulate temperatures over geological timescales.',
148
+ '<strong>Planetary Bond Albedo:</strong> High reflectivity (due to clouds, ice caps, or sulfate aerosols) cools the planet, whereas low reflectivity (dark soils, water bodies) traps more stellar energy.',
149
+ '<strong>Magnetic Fields:</strong> A strong planetary magnetosphere shields the atmosphere from solar and stellar winds, preventing non-thermal atmospheric escape and water loss.',
150
+ '<strong>Water-Trap Dynamics:</strong> The cold-trap effect in the upper atmosphere prevents water vapor from reaching high altitudes where solar UV radiation would dissociate it into hydrogen and oxygen.',
151
+ ],
152
+ },
153
+ ],
154
+ faq,
155
+ bibliography,
156
+ howTo,
157
+ schemas: [
158
+ {
159
+ '@context': 'https://schema.org',
160
+ '@type': 'SoftwareApplication',
161
+ name: title,
162
+ description: description,
163
+ applicationCategory: 'ScientificApplication',
164
+ operatingSystem: 'Any',
165
+ },
166
+ {
167
+ '@context': 'https://schema.org',
168
+ '@type': 'FAQPage',
169
+ mainEntity: faq.map((item) => ({
170
+ '@type': 'Question',
171
+ name: item.question,
172
+ acceptedAnswer: {
173
+ '@type': 'Answer',
174
+ text: item.answer,
175
+ },
176
+ })),
177
+ },
178
+ {
179
+ '@context': 'https://schema.org',
180
+ '@type': 'HowTo',
181
+ name: title,
182
+ step: howTo.map((step) => ({
183
+ '@type': 'HowToStep',
184
+ name: step.name,
185
+ text: step.text,
186
+ })),
187
+ },
188
+ ],
189
+ };
@@ -0,0 +1,189 @@
1
+ import { bibliography } from '../bibliography';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ const slug = 'zona-habitable-estelar';
5
+ const description = 'Calcula y visualiza la zona habitable (zona de Ricitos de Oro) alrededor de diferentes tipos de estrellas mediante configuraciones estelares y planetarias.';
6
+ const title = 'Simulador de Zona Habitable Estelar: Encuentra Zonas de Ricitos de Oro';
7
+
8
+ const howTo = [
9
+ {
10
+ name: 'Selecciona un preset estelar',
11
+ text: 'Elige un tipo de estrella, desde gigantes azules hasta enanas rojas, para cargar propiedades físicas estándar como masa, luminosidad y temperatura.',
12
+ },
13
+ {
14
+ name: 'Ajusta los parámetros planetarios',
15
+ text: 'Modifica la distancia orbital del planeta (semieje mayor), el albedo y el efecto invernadero de la atmósfera mediante los deslizadores interactivos.',
16
+ },
17
+ {
18
+ name: 'Analiza la órbita y la habitabilidad',
19
+ text: 'Observa la órbita del planeta en tiempo real. Comprueba si las temperaturas de equilibrio y de superficie permiten la existencia de agua líquida.',
20
+ },
21
+ ];
22
+
23
+ const faq = [
24
+ {
25
+ question: '¿Qué es la zona de habitabilidad circunestelar?',
26
+ answer: 'La zona de habitabilidad circunestelar (a menudo llamada zona de Ricitos de Oro) es la región alrededor de una estrella donde las temperaturas en la superficie planetaria son idóneas para mantener agua líquida bajo una presión atmosférica dada. Se define mediante límites conservadores y optimistas basados en la luminosidad y la temperatura efectiva de la estrella.',
27
+ },
28
+ {
29
+ question: '¿Cómo afecta la luminosidad estelar a la zona habitable?',
30
+ answer: 'La luminosidad estelar determina la energía total emitida por la estrella. Las estrellas más calientes y masivas (como las de tipo O, B o A) son extremadamente brillantes, por lo que su zona habitable se sitúa mucho más lejos. Las estrellas más frías y menos masivas (como las enanas rojas de tipo K o M) tienen luminosidades bajas, desplazando su zona habitable muy cerca de ellas.',
31
+ },
32
+ {
33
+ question: '¿Cuál es la diferencia entre temperatura de equilibrio y de superficie?',
34
+ answer: 'La temperatura de equilibrio es la temperatura teórica que tendría un planeta asumiendo que se comporta como un cuerpo negro que absorbe la radiación estelar y la vuelve a irradiar al espacio. La temperatura de superficie incluye el efecto invernadero de la atmósfera del planeta, que atrapa el calor y calienta aún más el planeta.',
35
+ },
36
+ {
37
+ question: '¿Por qué es importante el albedo para la habitabilidad planetaria?',
38
+ answer: 'El albedo es la medida de la reflectividad de la superficie de un planeta. Un albedo más alto (cercano a 1.0) significa que el planeta refleja más luz estelar entrante, enfriándolo. Un albedo más bajo significa que se absorbe más radiación, elevando su temperatura general.',
39
+ },
40
+ ];
41
+
42
+ export const content: ToolLocaleContent = {
43
+ slug,
44
+ title,
45
+ description,
46
+ ui: {
47
+ title: 'Simulador de Zona Habitable Estelar',
48
+ starPresetsLabel: 'Preajustes Espectrales',
49
+ customStarHeader: 'Parámetros Estelares',
50
+ starTemperature: 'Temperatura Efectiva (K)',
51
+ starLuminosity: 'Luminosidad (L/L⊙)',
52
+ starMass: 'Masa (M/M⊙)',
53
+ starRadius: 'Radio (R/R⊙)',
54
+ planetHeader: 'Parámetros Planetarios',
55
+ planetDistance: 'Distancia Orbital (UA)',
56
+ planetAlbedo: 'Albedo de Bond',
57
+ greenhouseDelta: 'Efecto Invernadero (K)',
58
+ resultsHeader: 'Resultados de la Simulación',
59
+ stellarFluxResult: 'Flujo Estelar Recibido',
60
+ eqTempResult: 'Temperatura de Equilibrio',
61
+ surfTempResult: 'Temperatura de Superficie Estimada',
62
+ orbitPeriodResult: 'Periodo Orbital',
63
+ orbitVelocityResult: 'Velocidad Orbital',
64
+ hzLimitsHeader: 'Límites de la Zona Habitable',
65
+ innerLimit: 'Límite Interior Conservador',
66
+ outerLimit: 'Límite Exterior Conservador',
67
+ optInnerLimit: 'Límite Interior Optimista',
68
+ optOuterLimit: 'Límite Exterior Optimista',
69
+ orbitCanvasTitle: 'Visualizador de Órbitas Interactivo',
70
+ statusLabel: 'Estado de Habitabilidad',
71
+ statusTooHot: 'DEMASIADO CALIENTE (El agua se evapora)',
72
+ statusHabitable: 'HABITABLE (Agua líquida posible)',
73
+ statusTooCold: 'DEMASIADO FRÍO (El agua se congela)',
74
+ statusExplanation: 'Según los límites conservadores, este planeta se encuentra en el estado de zona habitable especificado.',
75
+ unitsLabel: 'Sistema de Unidades',
76
+ unitsScientific: 'Científico',
77
+ unitsImperial: 'Imperial',
78
+ },
79
+ seo: [
80
+ {
81
+ type: 'title',
82
+ text: 'ASTROBIOLOGÍA: Física de las Zonas Habitables Estelares',
83
+ level: 2,
84
+ },
85
+ {
86
+ type: 'paragraph',
87
+ html: 'La búsqueda de vida más allá de la Tierra comienza con la comprensión de las condiciones físicas necesarias para el agua líquida. Los astrobiólogos utilizan modelos matemáticos para delimitar las zonas habitables alrededor de diferentes tipos de estrellas. Este simulador emplea los modelos de Kopparapu et al. (2013) para estimar el flujo de energía que reciben los planetas y determinar si se encuentran en la zona de Ricitos de Oro. La zona habitable se define como la región donde un planeta de masa terrestre con una atmósfera de CO2-H2O-N2 puede mantener agua líquida en su superficie.',
88
+ },
89
+ {
90
+ type: 'title',
91
+ text: 'Fórmulas Matemáticas y Física Atmosférica',
92
+ level: 3,
93
+ },
94
+ {
95
+ type: 'paragraph',
96
+ html: 'Los límites de la zona habitable se determinan calculando el flujo estelar efectivo (Seff) necesario para desencadenar condiciones de invernadero desbocado o invernadero máximo. La ecuación para Seff depende de la temperatura efectiva de la estrella (Teff):<br><br>Seff = SeffSun + a * T* + b * T*^2 + c * T*^3 + d * T*^4<br><br>donde T* = Teff - 5780 K, y los coeficientes (a, b, c, d) se derivan empíricamente de modelos climáticos radiativos-convectivos unidimensionales. Una vez calculado Seff, la distancia orbital d en unidades astronómicas (UA) viene dada por:<br><br>d = sqrt(L / Seff)<br><br>donde L es la luminosidad de la estrella respecto al Sol. La temperatura de equilibrio (Teq) del planeta se calcula asumiendo un cuerpo negro esférico en equilibrio térmico:<br><br>Teq = Teff * sqrt(R* / 2d) * (1 - A)^0.25 = 278.5 * (S * (1 - A))^0.25<br><br>donde R* es el radio estelar, A es el albedo de Bond del planeta y S es el flujo estelar recibido en unidades de la constante solar de la Tierra.',
97
+ },
98
+ {
99
+ type: 'title',
100
+ text: 'Clasificación Espectral y Límites Habitables',
101
+ level: 3,
102
+ },
103
+ {
104
+ type: 'paragraph',
105
+ html: 'Las características estelares varían significativamente según el tipo espectral. A continuación se presenta un resumen de las propiedades típicas y los límites de la zona habitable (ZH):',
106
+ },
107
+ {
108
+ type: 'table',
109
+ headers: [
110
+ 'Clase Espectral',
111
+ 'Temperatura (K)',
112
+ 'Luminosidad (L/L⊙)',
113
+ 'Límite Interior ZH (UA)',
114
+ 'Límite Exterior ZH (UA)',
115
+ ],
116
+ rows: [
117
+ ['Tipo O (Gigante)', '40,000', '100,000', '300.0', '530.0'],
118
+ ['Tipo B (Gigante)', '20,000', '1,000', '30.1', '53.2'],
119
+ ['Tipo A (Sirio)', '8,500', '20.0', '4.2', '7.4'],
120
+ ['Tipo F (Proción)', '6,500', '2.5', '1.5', '2.6'],
121
+ ['Tipo G (Sol)', '5,778', '1.0', '0.95', '1.67'],
122
+ ['Tipo K (Enana)', '4,500', '0.15', '0.37', '0.65'],
123
+ ['Tipo M (Enana)', '3,200', '0.01', '0.09', '0.17'],
124
+ ],
125
+ },
126
+ {
127
+ type: 'title',
128
+ text: 'Impacto de la Clase Espectral en la Habitabilidad',
129
+ level: 3,
130
+ },
131
+ {
132
+ type: 'paragraph',
133
+ html: 'Cada clase espectral genera un entorno radiactivo y gravitatorio único para sus planetas:<br><br><strong>Estrellas de tipo O y B:</strong> Estas estrellas azules masivas emiten una intensa radiación ultravioleta (UV) y tienen vidas extremadamente cortas (decenas de millones de años). Podría existir agua líquida en sus mundos exteriores, pero la vida no dispondría de tiempo suficiente para evolucionar antes de que la estrella explote como supernova.<br><br><strong>Estrellas de tipo A y F:</strong> Son más brillantes y calientes que el Sol. Sus zonas habitables son amplias y lejanas, lo que reduce los efectos del acoplamiento de marea. Sin embargo, los altos niveles de radiación UV cercana pueden dañar gravemente las moléculas orgánicas si no cuentan con una capa protectora de ozono.<br><br><strong>Estrellas de tipo G (similares al Sol):</strong> Al proporcionar un flujo luminoso estable durante miles de millones de años, representan el objetivo principal en la búsqueda de vida. Su emisión de radiación se alinea perfectamente con los requisitos de la bioquímica estándar.<br><br><strong>Estrellas de tipo K (enanas naranjas):</strong> Consideradas por muchos astrobiólogos como las mejores candidatas para albergar mundos "superhabitables". Viven decenas de miles de millones de años, emiten menos radiación UV dañina que las estrellas de tipo G y no sufren las erupciones violentas de las enanas rojas jóvenes.<br><br><strong>Estrellas de tipo M (enanas rojas):</strong> Las más abundantes de la galaxia. Como su zona habitable está muy cerca (generalmente < 0.2 UA), los planetas suelen sufrir acoplamiento de marea (una cara siempre apunta a la estrella). Además, las enanas rojas activas generan vientos estelares y llamaradas de alta energía que pueden despojar a los planetas de sus atmósferas.',
134
+ },
135
+ {
136
+ type: 'title',
137
+ text: 'Factores Críticos en los Entornos Habitables Planetarios',
138
+ level: 3,
139
+ },
140
+ {
141
+ type: 'paragraph',
142
+ html: 'El entorno físico de un planeta depende de múltiples variables que van más allá de la simple distancia a su estrella hospedadora:',
143
+ },
144
+ {
145
+ type: 'list',
146
+ items: [
147
+ '<strong>Efecto Invernadero Atmosférico:</strong> Los gases de efecto invernadero naturales elevan la temperatura de la superficie por encima del nivel de equilibrio del cuerpo negro. Los planetas rocosos requieren el ciclo carbono-silicato para estabilizar el CO2 atmosférico y regular las temperaturas a escala geológica.',
148
+ '<strong>Albedo de Bond del Planeta:</strong> Una alta reflectividad (por nubes, casquetes polares o aerosoles de sulfato) enfría el planeta, mientras que una reflectividad baja (suelos oscuros, masas de agua) absorbe más energía estelar.',
149
+ '<strong>Campos Magnéticos:</strong> Una magnetosfera planetaria fuerte protege la atmósfera de los vientos estelares, evitando la pérdida de agua y el escape atmosférico no térmico.',
150
+ '<strong>Dinámica de Trampa de Agua:</strong> El efecto de trampa fría en la atmósfera superior evita que el vapor de agua alcance grandes altitudes donde la radiación UV estelar lo disociaría en hidrógeno y oxígeno.',
151
+ ],
152
+ },
153
+ ],
154
+ faq,
155
+ bibliography,
156
+ howTo,
157
+ schemas: [
158
+ {
159
+ '@context': 'https://schema.org',
160
+ '@type': 'SoftwareApplication',
161
+ name: title,
162
+ description: description,
163
+ applicationCategory: 'ScientificApplication',
164
+ operatingSystem: 'Any',
165
+ },
166
+ {
167
+ '@context': 'https://schema.org',
168
+ '@type': 'FAQPage',
169
+ mainEntity: faq.map((item) => ({
170
+ '@type': 'Question',
171
+ name: item.question,
172
+ acceptedAnswer: {
173
+ '@type': 'Answer',
174
+ text: item.answer,
175
+ },
176
+ })),
177
+ },
178
+ {
179
+ '@context': 'https://schema.org',
180
+ '@type': 'HowTo',
181
+ name: title,
182
+ step: howTo.map((step) => ({
183
+ '@type': 'HowToStep',
184
+ name: step.name,
185
+ text: step.text,
186
+ })),
187
+ },
188
+ ],
189
+ };