Thursday, 27 March 2025

Work Diary - 2025

Learnt:

Date

Link

28.01.2025

https://ametodl.blogspot.com/p/experience-with-deepseek-r1.html

02.02.2025

https://dockerhandson25.blogspot.com/

03.02.2025

https://dockerhandson25.blogspot.com/2025/02/dockerize-react-project-handson.html

03.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/1-angular-19-tutorials.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/4-session-3-directives-pipes-services-2.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/5-session-4-routing-navigation-2-hours.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/62-template-form-validation.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/63-reactive-form-validation.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/64-side-nav-bar-demo.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/6-session-5-forms-validation-2-hours.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/7-crud-in-angular-19.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/7-crud-made-simple.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/80-sqlite-installation.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/81-sqlite-tutorial-basics.html

04.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/82-sqlite-crud-advanced-topis.html

07.02.2025

https://dockerhandson25.blogspot.com/2025/02/ai-agent-basics-hands-on.html

07.02.2025

https://gamma.app/docs/Pydantic-AI-Agents-Making-AI-Work-for-You-sbulct84mtrt9db

12.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/10-input-decorator-concepts.html

12.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/11-output.html

12.03.2025

https://ang-19-tutorials.blogspot.com/2025/03/9-signals.html

13.01.2025

https://learn-gemini2.blogspot.com/2025/01/

13.03.2025

https://type-script-tutorials.blogspot.com/

14.03.2025

https://gcp-handson.blogspot.com/2025/03/run-ollama-in-co-lab.html

15.02.2025

https://ametodl.blogspot.com/2022/11/angular-1-installation.html

15.02.2025

https://ametodl.blogspot.com/2022/11/angular-2-string-interpolation.html

15.02.2025

https://ametodl.blogspot.com/2022/11/angular-3-directives.html

15.02.2025

https://ametodl.blogspot.com/2022/11/angular-4-routing.html

16.02.2025

https://ametodl.blogspot.com/2022/11/angular-5-with-json.html

16.02.2025

https://ametodl.blogspot.com/2022/11/angular-6-ngclass.html

16.02.2025

https://ametodl.blogspot.com/2022/11/angular-7-service.html

16.02.2025

https://ametodl.blogspot.com/2022/12/angular-8-forms.html

16.02.2025

https://ametodl.blogspot.com/2022/12/ionic-angular-1-demo.html

16.02.2025

https://ametodl.blogspot.com/2024/12/academic-paper-pipeline.html

18.02.2025

https://learn-gemini2.blogspot.com/2025/02/temp-angular-for-immss.html

19.02.2025

https://angular.dev/tutorials/learn-angular/1-components-in-angular

19.02.2025

https://candwebapp2024.blogspot.com/2025/01/3-sass.html

20.02.2025

https://angular-material.dev/articles/angular-material-theming-system-complete-guide

20.02.2025

https://learn-gemini2.blogspot.com/2025/02/angular-material-theming-color.html

20.02.2025

https://material.angular.io/guide/getting-started

20.02.2025

https://material.angular.io/guide/theming

21.02.2025

https://learn-gemini2.blogspot.com/2025/02/angular-material-typography.html

21.03.2025

https://gcp-handson.blogspot.com/2025/03/1-k8s-intro-lab.html

22.02.2025

https://learn-gemini2.blogspot.com/2025/02/deep-seek-in-colab.html

23.01.2025

https://hugfacehandson.blogspot.com/

23.01.2025

https://ollamabasic.blogspot.com/2025/01/local-llm-for-immss-ai.html

23.02.2025

https://gcp-handson.blogspot.com/2025/02/gcp1.html

24.03.2025

https://qc-python-basics.blogspot.com/2025/03/1-popular-python-libraries-for-quantum.html

25.03.2025

https://gcp-handson.blogspot.com/2025/03/temp-for-discussion.html

26.03.2025

https://civil-engg-ai.blogspot.com/2025/03/pyautocad-intro.html

27.02.2025

https://gcp-handson.blogspot.com/2025/02/caai-33-git-docker-push-for-frontend.html

27.02.2025

https://github.com/au60rmc/immibizsoft-frontend

27.03.2025

https://auto-fill-form.blogspot.com/2025/03/2-devops-beginners-hands-on.html

27.03.3025

https://dev-ops-hands-on.blogspot.com/2025/03/1-devops-basics-hands-on.html

26.03.2025

https://auto-fill-form.blogspot.com/2025/03/1-basic-form-filling-using-selenium.html

04.05.2025

https://learn-gemini2.blogspot.com/2025/05/builderio-tutorials.html

05.05.2025

https://tnsche-sirf.blogspot.com/2025/05/1-nirf-overall-discrepancies.html

12.05.2025

https://tnsche-sirf.blogspot.com/2025_05_12_archive.html

14.05.2025

https://tnsche-sirf.blogspot.com/2025/05/mapping-job-roles-and-aligning.html

16.05.2025

https://tnsche-sirf.blogspot.com/2025/05/10-prominent-itites-industries-in.html

17.05.2025

https://tnsche-sirf.blogspot.com/2025/05/skills-in-demand-2025-from-job-web-sites.html                                                                             

18.05.2025      

https://out-come-based-education.blogspot.com/2025/05/obe-training-modules.html

 May 2025 

https://tn-phd-ecosystem.blogspot.com/

01.08.2025 

https://tnsche-sirf.blogspot.com/

03. 07.2025  

https://july2025-works.blogspot.com/

May 30, 2025 

https://out-come-based-education.blogspot.com/

June 2, 2025 

https://p-e-p-2025.blogspot.com/

2.8.2025

https://ai-drug-discovery.blogspot.com/

23.08.2025  

https://py4civil.blogspot.com/



github for Python            https://github.com/aurmc2018/hello-world.git

github for TANSCHE     https://github.com/TANSCHEC/sirf.git

githubfor CAAI              https://github.com/immbizsoft/caai-ai.git





Saturday, 15 February 2025

Angular 18 Navigation for iMMSS

 

🚀 Setting Up Angular Routing - The Fun Way! 😆

Hey there, future Angular ninjas! 🥷 If you’re new to Angular and struggling with routing, don’t worry! We’ve got a simple, fun guide that even your lazy friend who never codes can follow. Let's go! 🎉


Step 1: Unlock the Terminal Superpowers ⚡

Open your terminal and type this magic spell:

Set-ExecutionPolicy Unrestricted -Scope CurrentUser

(If your computer starts talking back, run away! Just kidding 😜, this just allows scripts to run.)


Step 2: Summon a New Angular App 🏗️

ng new routing

Now, check if the server is alive:

ng serve

If everything is working, you should see some Angular awesomeness at localhost:4200. 🎯


Step 3: Create Pages Like a Pro 📄

Run these one by one in the terminal to create your components:

ng g c home
ng g c contact
ng g c about
ng g c services

Boom 💥! You just made pages like a coding boss.


Step 4: The Magic Routing Spell 🧙‍♂️

Open app.routes.ts and change its contents to this:

import { Routes } from '@angular/router';
import { HomeComponent } from './home/home.component';
import { ContactComponent } from './contact/contact.component';
import { AboutComponent } from './about/about.component';
import { ServicesComponent } from './services/services.component';

export const routes: Routes = [
    {path:"home", component:HomeComponent},
    {path:"contact", component:ContactComponent},
    {path:"about", component:AboutComponent},
    {path:"services", component:ServicesComponent},
];

Now your app knows where to go when you click a link! 🗺️


Step 5: Delete and Replace 🗑️➡️📜

Go to app.component.html, erase everything, and add this:

<h1>Testing Routing</h1>
<router-outlet></router-outlet>

Run:

ng serve

Now, check in your browser:

  • localhost:4200
  • localhost:4200/home
  • localhost:4200/contact
  • localhost:4200/about
  • localhost:4200/services

Enjoy watching the URLs change like magic! 🎩✨


Step 6: Auto-Redirect to Home 🏠

Modify app.routes.ts again:

{path:"", redirectTo:"/home", pathMatch:'full'},

Now, when someone opens your app, they go straight to /home. No confusion, just pure routing genius! 🧠


Step 7: Add a Navigation Menu 🧭

Modify app.component.ts first:

import { RouterLink, RouterOutlet } from '@angular/router';  

imports: [RouterOutlet, RouterLink],

Now, in app.component.html, add this stylish navbar:

<h1>Testing Routing</h1>
<nav>
  <a routerLink="/home">Home</a>  |
  <a routerLink="/contact">Contact</a> |
  <a routerLink="/services">Services</a> |
  <a routerLink="/about">About</a> |
</nav>
<router-outlet />

Check it in your browser and feel like a pro! 🤩


Step 8: Highlight Active Links 🔥

Modify app.component.html to add active styling:

<h1>Testing Routing</h1>
<nav>
  <a routerLink="/home" routerLinkActive="active-home">Home</a>  |
  <a routerLink="/contact" routerLinkActive="active-contact">Contact</a> |
  <a routerLink="/services" routerLinkActive="active-services">Services</a> |
  <a routerLink="/about" routerLinkActive="active-link">About</a> |
</nav>
<router-outlet />

Now, create a style sheet to make it pop! 🎨

.active-link {
    color: red;
}
.active-home {
    color:aqua;
}
.active-about {
    color:blue;
}
.active-services {
    color: rgb(238, 47, 255);
}
.active-contact {
    color:rgb(38, 236, 203);
}

Bam! Your links change colors when clicked! 🌈

STEP 9 :

Create Docker file with the followingcontents

FROM node:latest
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN npm install -g @angular/cli
RUN npm install
CMD ["ng", "serve", "--host", "0.0.0.0"]

docker build -t angular_practice 

docker run -p 8080:4200 angular_practice

 ➜  Local:   http://localhost:4200/
  ➜  Network: http://172.17.0.3:4200/

Bonus: Learn More 🎥

Watch this video if you’re stuck: 👉 Programmatic Navigation

Congratulations, you just built a routing system in Angular! 🎉 Now, go flex on your friends! 😎

Friday, 27 December 2024

Academic paper pipeline

The Complete AI-Powered Academic Paper Writing Pipeline: From Idea to Publication (2025 Guide)

 #AcademicWriting #Research #AI


📍 STAGE 1: RESEARCH IDEATION & PLANNING


🧠 Step 1: Topic Exploration & Research Gap Identification

Tools:

• Iris.ai - Research mapping and gap analysis

• Semantic Scholar - Trend identification

• Connected Papers - Visual literature mapping

• ResearchRabbit - Citation network analysis

• Elicit.org - Research question formulation


🔍 Step 2: Literature Review

Tools:

• Scholarcy - Automated paper summarization

• Zotero  - Reference management

• Paper Digest - Quick paper summaries

• SciSpace - PDF analysis and highlighting

• LitMaps - Literature visualization


📊 Step 3: Research Design Planning

Tools:

• ChatGPT - Methodology brainstorming

• Claude - Experimental design feedback

• R Studio AI - Statistical planning

• G*Power AI - Sample size calculation

• Protocol.io - Method documentation



📍 STAGE 2: PAPER DRAFTING


📝 Step 4: Paper Outlining

Tools:

• Writefull Structure - Section organization

• Paperpal Outline - Content planning

• Sciflow - Template-based outlining

• AcademicWriter - Structure suggestions

• Scrivener AI - Content organization


Strategy: Use journal guidelines alongside AI suggestions for optimal structure


✍️ Step 5: First Draft Writing

Tools:

• Writefull - Scientific writing assistance

• Academic Phrasebank AI - Standard phrases

• Grammarly Academic - Real-time writing feedback

• QuillBot Academic - Paraphrasing help

• Ludwig.guru - Academic language suggestions


Writing Workflow:

1. Create section drafts using AI assistance

2. Review and modify content

3. Check technical accuracy

4. Verify citations

5. Polish language


📊 Step 6: Figures & Visualizations

Tools:

• BioRender - Scientific illustrations

• Plotly AI - Interactive charts

• RAWGraphs - Data visualization

• Tableau AI - Complex data plots

• Adobe Illustrator AI - Figure design


📍 STAGE 3: REFINEMENT & EDITING


📌 Step 7: Content Editing

Tools:

• Paperpal - Technical editing

• Grammarly Premium - Style and grammar

• LanguageTool - Language refinement

• Hemingway Editor - Readability check

• ProWritingAid Academic - Deep analysis


Editing Checklist:

□ Technical accuracy

□ Logical flow

□ Citation completeness

□ Figure relevance

□ Methods clarity


🔍 Step 8: Technical Review

Tools:

• StatReviewer - Statistical check

• Penelope.ai - Technical consistency

• SciScore - Methods verification

• iThenticate - Plagiarism check

• Authzen - Author contribution check


Critical: Manual review of all AI suggestions is essential


📑 Step 9: Reference Management

Tools:

• EndNote  - Citation organization

• Mendeley Cite - Reference formatting

• Zotero AI - Bibliography management

• CiteDrive - BibTeX management

• ReadCube - Reference library organization


Tip: Double-check all AI-generated citations against original sources


Thursday, 19 December 2024

Green Energy - House Construction

With Minimum Meterological data, how i can build model for Green Energy new construction

WIth Minimum Meterological data, how i can build model for Green Energy new 

With minimal meteorological data, you can still build a basic model for green energy construction using these steps:

  1. Identify Key Data: Focus on crucial weather parameters:

    • Solar: Solar radiation or sunlight hours (for solar panels).
    • Wind: Wind speed and direction (for wind turbines).
    • Temperature: Helps estimate energy efficiency.
    • Precipitation: Affects solar efficiency or rainwater harvesting.
  2. Collect Data: Use historical or open-source meteorological data from sources like:

    • NASA POWER dataset
    • Government weather portals
    • Local weather stations
  3. Simplify Energy Models:

    • Solar Energy: Use models like PVWatts to estimate solar power output based on sunlight.
    • Wind Energy: Apply the Power Law to estimate wind turbine energy output with basic wind speed data.
  4. Site-Specific Adjustments:

    • Use elevation, terrain, and shading data from tools like Google Earth or GIS tools.
  5. Build Predictive Model:

    • Use simple algorithms like Linear Regression to predict energy output.
    • For software, use Python with libraries like Pandas, Scikit-learn, and NumPy.
  6. Validate & Optimize: Compare model results with small-scale installations for accuracy.

This approach works as a basic starting point.

You said:
i have min, max tempearture in a particular place. How i can build model. Explain in step by step with use case for a typical class room for 60 students
ChatGPT

with minimum and maximum temperature data, you can build a model to estimate energy needs for maintaining a comfortable classroom for 60 students. Here's a step-by-step approach:


Objective:

Model the cooling or heating energy required to maintain a comfortable temperature (e.g., 24°C) in a classroom with 60 students.


Step 1: Define the Use Case

  • Classroom dimensions: Assume typical size, e.g., 10m x 8m x 3m = 240 cubic meters.
  • Occupancy: 60 students.
  • Comfort Temperature: 24°C (standard indoor comfort).
  • Given Data: Minimum and maximum temperatures for the location.

Step 2: Estimate Heat Load

The heat load includes factors that increase room temperature:

  1. External Temperature Influence:

    • Use the average temperature: Tavg=Tmin+Tmax2T_{\text{avg}} = \frac{T_{\text{min}} + T_{\text{max}}}{2}
  2. Heat Gain from Occupants:

    • Each person generates around 100W of heat.
      For 60 students: Qoccupants=60×100=6000W(6kW)Q_{\text{occupants}} = 60 \times 100 = 6000 \, \text{W} \, (6 \, \text{kW})
  3. External Heat Transfer (Walls and Windows):

    • Simplify using the U-value (thermal transmittance) of walls/windows.
    • Heat transfer: Qwalls=U×A×ΔTQ_{\text{walls}} = U \times A \times \Delta T
      • U: Thermal transmittance (e.g., 1.5 W/m²K for walls).
      • A: Area (walls, windows, roof).
      • ΔT: Difference between outside and desired indoor temperature.

Step 3: Total Heat Load Calculation

Add all sources of heat load:

Qtotal=Qoccupants+QwallsQ_{\text{total}} = Q_{\text{occupants}} + Q_{\text{walls}}

This gives the energy required to cool or heat the classroom.


Step 4: Model the Energy Requirement

  • If average temperature TavgT_{\text{avg}} > 24°C → Cooling needed.
  • If TavgT_{\text{avg}} < 24°C → Heating needed.

Energy Consumption can be calculated using:

Energy (kWh)=Qtotal×Operating Hours1000\text{Energy (kWh)} = \frac{Q_{\text{total}} \times \text{Operating Hours}}{1000}

Step 5: Use Case with Assumptions

Example Scenario:

  • Min Temp = 28°C, Max Temp = 36°C → Tavg=32°CT_{\text{avg}} = 32°C (Cooling needed).
  • Classroom: 10m x 8m x 3m.
  • Occupants: 60 students.
  • Comfort Temp: 24°C.
  • Operating hours: 6 hours/day.
  • U-value = 1.5 W/m²K for walls.
  • Total surface area (walls + roof): 150m².

1. Heat from students:

Qoccupants=6000WQ_{\text{occupants}} = 6000 \, \text{W}

2. Heat transfer through walls:

Qwalls=U×A×ΔT=1.5×150×(3224)=1800WQ_{\text{walls}} = U \times A \times \Delta T = 1.5 \times 150 \times (32 - 24) = 1800 \, \text{W}

3. Total Heat Load:

Qtotal=6000+1800=7800W(7.8kW)Q_{\text{total}} = 6000 + 1800 = 7800 \, \text{W} \, (7.8 \, \text{kW})

4. Energy Consumption:
For 6 hours:

Energy=7800×61000=46.8kWh/day\text{Energy} = \frac{7800 \times 6}{1000} = 46.8 \, \text{kWh/day}

Step 6: Build the Model in Python

Use Python to automate this calculation. Here’s a simple script:

# Inputs

# Inputs
T_min = 28  # Minimum temperature
T_max = 36  # Maximum temperature
T_comfort = 24  # Desired temperature
U_value = 1.5  # Thermal transmittance (W/m²K)
area = 150  # Surface area of walls+roof (m²)
occupants = 60
heat_per_person = 100  # Heat generated per person (W)
hours = 6  # Operating hours

# Average temperature
T_avg = (T_min + T_max) / 2

# Heat load calculations
delta_T = T_avg - T_comfort
Q_occupants = occupants * heat_per_person  # Heat from students
Q_walls = U_value * area * delta_T  # Heat transfer through walls
Q_total = Q_occupants + Q_walls  # Total heat load

# Energy consumption
energy_kWh = (Q_total * hours) / 1000

# Results
print(f"Total Heat Load: {Q_total:.2f} W")
print(f"Daily Energy Consumption: {energy_kWh:.2f} kWh")

Results


Total Heat Load: 7800.00 W

Daily Energy Consumption: 46.80 kWh

Step 7: Insights

  • You can use this model to size AC systems or heating units.
  • Compare energy requirements for different locations (changing temperatures).
  • Use this to assess energy costs or design energy-efficient classrooms.

Let me know if you need further tweaks, bro! 🚀


How much AC i have to provide. Please advise for some use cases in hot climate regions like Ramnad in Tamilnadu


ChatGPT said:

In hot climate regions like Ramanathapuram (Ramnad) in Tamil Nadu, where temperatures often exceed 35-40°C, you need to size the AC units properly. Here's a step-by-step guide with use cases for a typical classroom:

Step 1: Cooling Load Estimation

Cooling load is the amount of heat that needs to be removed to maintain a comfortable 24°C.

  1. Key Heat Sources:

    • External heat gain: Through walls, roof, windows.
    • Internal heat gain: Students, lights, and other equipment.
  2. Simplified Formula:
    For a classroom, use 1 ton of AC for every 12,000 BTU/hr cooling load.
    1 Ton = 3.517 kW (energy).

    Cooling load can be calculated as:

    Total Cooling Load (BTU/hr)=Qwalls+Qoccupants+Qlights\text{Total Cooling Load (BTU/hr)} = Q_{\text{walls}} + Q_{\text{occupants}} + Q_{\text{lights}}

Step 2: Typical Classroom in Ramnad

Let’s assume:

  • Classroom Size = 10m x 8m x 3m (standard dimensions).
  • 60 students (100W per student).
  • Lights: Assume 10 lights at 50W each.
  • High external temperatures: Min = 30°C, Max = 40°C.

Comfort Temp = 24°C.


Step 3: Cooling Load Calculation

  1. Heat Gain from Students:

    Qoccupants=60×100=6000W(6kW)Q_{\text{occupants}} = 60 \times 100 = 6000 \, \text{W} \, (6 kW)
  2. Heat Gain from Lights:

    Qlights=10×50=500W(0.5kW)Q_{\text{lights}} = 10 \times 50 = 500 \, \text{W} \, (0.5 kW)
  3. External Heat Gain (Walls + Roof):
    Assume:

    • Total Area (walls + roof) = 150m².
    • U-value = 1.5 W/m²K (standard wall insulation).
    • Temperature Difference (ΔT): Max Temp - Comfort Temp = 4024=16°C40 - 24 = 16°C.
    Qwalls=U×A×ΔT=1.5×150×16=3600W(3.6kW)Q_{\text{walls}} = U \times A \times \Delta T = 1.5 \times 150 \times 16 = 3600 \, \text{W} \, (3.6 kW)
  4. Total Cooling Load:

    Qtotal=Qoccupants+Qlights+QwallsQ_{\text{total}} = Q_{\text{occupants}} + Q_{\text{lights}} + Q_{\text{walls}} Qtotal=6000+500+3600=10,100W(10.1kW)Q_{\text{total}} = 6000 + 500 + 3600 = 10,100 \, \text{W} \, (10.1 \, \text{kW})

Convert to BTU/hr:

BTU/hr=10.1kW×3412=34,500BTU/hr\text{BTU/hr} = 10.1 \, \text{kW} \times 3412 = 34,500 \, \text{BTU/hr}

Step 4: AC Sizing

1 Ton of AC = 12,000 BTU/hr.
For 34,500 BTU/hr:

Required AC Capacity=34,50012,0003Tons\text{Required AC Capacity} = \frac{34,500}{12,000} \approx 3 \, \text{Tons}

Step 5: Use Cases for Hot Climate

Use Case 1: Basic Classroom in Ramnad

  • AC Capacity: 3 Tons (Split AC or Cassette AC).
  • Configuration: Use 2 x 1.5 Ton ACs for better air distribution.

Use Case 2: Large Classroom or Higher Load

  • If room size increases to 12m x 10m x 3m or more students (e.g., 80 students):
    • Cooling load increases to ~4-5 Tons.
    • Use 2 x 2 Ton ACs or 1 centralized 5 Ton unit.

Use Case 3: Energy-Efficient Classroom

To reduce AC load:

  • Use insulation on walls/roof.
  • Install cool roofing to reduce heat gain.
  • Use blinds or reflective glass for windows.
  • Opt for ceiling fans + AC to reduce AC usage.

Final Recommendation for Ramnad

For a 60-student classroom:

  • Install 3 Tons of AC (2 x 1.5 Ton units).
  • Choose Inverter ACs for energy efficiency.

This ensures comfort even in peak summer temperatures, bro! 🌞 Let me know if you need cost estimates or further tweaks. 🚀

Work Diary - 2025

Learnt: Date Link 28.01.2025 https://ametodl.blogspot.com/p/experience-with-deepseek-...