10 Commits

Author SHA1 Message Date
6e1f478ce5 :wq
Merge branch 'development' of git.ourworld.tf:tfgrid/info_tfgrid into development
2024-08-01 18:45:50 +02:00
0f08c2ec63 ... 2024-08-01 18:45:49 +02:00
c57b71cd76 Update collections/dy_intro/dunia_yetu/dunia_yetu.md 2024-08-01 15:17:04 +00:00
dc244fbe55 Update collections/dy_intro/dunia_yetu/dunia_yetu.md 2024-08-01 14:58:29 +00:00
393985d305 ... 2024-07-29 10:27:54 +02:00
86827c23db Merge branch 'development' of git.ourworld.tf:tfgrid/info_tfgrid into development
* 'development' of git.ourworld.tf:tfgrid/info_tfgrid:
  s
2024-07-29 10:05:56 +02:00
23cb055f8c Merge branch 'main' of git.ourworld.tf:tfgrid/info_tfgrid 2024-07-28 10:35:17 +02:00
11fcf9e804 s 2024-07-28 08:41:44 +02:00
9a7d968268 Merge branch 'development'
* development:
  tokens
2024-07-08 06:20:24 +02:00
ba5cc1b4a9 Merge branch 'development'
* development:
  Update docs_projectinca/README.md
  updated whitepaper
  set whitepaper as test
  s
  s
  s
2024-07-07 10:37:35 +02:00
37 changed files with 576 additions and 2 deletions

1
.gitignore vendored
View File

@@ -30,4 +30,5 @@ yarn.lock
package-lock.json
dist
.temp
filebrowser.db

View File

@@ -10,4 +10,4 @@ It's a good place to start if you want to have an overview of ThreeFold since it
- [ThreeFold Tech](threefold_tech.md)
- [Organisation Structure](orgstructure.md)
- [ThreeFold Roadmap](roadmap_readme.md)
- [ThreeFold Token](token_overview.md)
- [ThreeFold Token](token_overview.md)

View File

View File

@@ -0,0 +1 @@
cloud.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 KiB

View File

@@ -0,0 +1,3 @@
![](img/cloud.png)
## Simulator for TFGrid 4.x

View File

@@ -0,0 +1,44 @@
# Simulation for Nodes of Type ai
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'ai_new_per_month'
period_type:quarter
Nr of nodes sold per month.
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'ai_nr_active'
period_type:quarter
Nr of nodes active at end of quarter.
## Financials
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'ai_utilization'
period_type:quarter
Utilization
!!sheet.graph_bar_row sheetname:'tfgridsim_run1'
rowname:'ai_rev_month'
period_type:quarter
Revenue as can be made per node (after discount and at utilization)
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'ai_rev_total'
period_type:quarter
Revenue per month for all nodes of this type.
## Overview
!!sheet.sheet_wiki sheetname:'tfgridsim_run1' includefilter:'nodetype:ai'
<br>
## Details Month
!!sheet.sheet_wiki sheetname:'tfgridsim_run1' period_type:month includefilter:'nodetype:ai'

View File

@@ -0,0 +1,30 @@
# Node Stats
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
period_type:quarter
includefilter:'nrnodes_new'
Nr of nodes sold per month.
<br>
<br>
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
period_type:quarter
includefilter:'utilization'
Utilization of the nodes over time.
## Financials
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'noderev'
period_type:quarter
Revenue per month for all nodes of this type.
## Overview Stats for all Type of Nodes
!!sheet.sheet_wiki sheetname:'tfgridsim_run1' includefilter:'nodestats_total'

View File

@@ -0,0 +1,44 @@
# Simulation for Nodes of Type platinum
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'platinum_new_per_month'
period_type:quarter
Nr of nodes sold per month.
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'platinum_nr_active'
period_type:quarter
Nr of nodes active at end of quarter.
## Financials
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'platinum_utilization'
period_type:quarter
Utilization
!!sheet.graph_bar_row sheetname:'tfgridsim_run1'
rowname:'platinum_rev_month'
period_type:quarter
Revenue as can be made per node (after discount and at utilization)
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'platinum_rev_total'
period_type:quarter
Revenue per month for all nodes of this type.
## Overview
!!sheet.sheet_wiki sheetname:'tfgridsim_run1' includefilter:'nodetype:platinum'
<br>
## Details Month
!!sheet.sheet_wiki sheetname:'tfgridsim_run1' period_type:month includefilter:'nodetype:platinum'

View File

@@ -0,0 +1,44 @@
# Simulation for Nodes of Type Silver
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'silver_new_per_month'
period_type:quarter
Nr of nodes sold per month.
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'silver_nr_active'
period_type:quarter
Nr of nodes active at end of quarter.
## Financials
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'silver_utilization'
period_type:quarter
Utilization
!!sheet.graph_bar_row sheetname:'tfgridsim_run1'
rowname:'silver_rev_month'
period_type:quarter
Revenue as can be made per node (after discount and at utilization)
!!sheet.graph_line_row sheetname:'tfgridsim_run1'
rowname:'silver_rev_total'
period_type:quarter
Revenue per month for all nodes of this type.
## Overview
!!sheet.sheet_wiki sheetname:'tfgridsim_run1' includefilter:'nodetype:silver'
<br>
## Details Month
!!sheet.sheet_wiki sheetname:'tfgridsim_run1' period_type:month includefilter:'nodetype:silver'

View File

@@ -0,0 +1,123 @@
# Specs for nodes
## PLATINUM
```js
!!tfgrid_simulator.node_define
name:'platinum'
cpu_brand:'amd'
cpu_version:'9600'
deliverytime:'2024-8-20'
description:'very powerfull compute machine with lots of memory and CPU cores.'
hdd:'1x 10 TB'
image:'platinum.png'
inca_reward:1000
mem:'64 GB'
cost:1999
ssd:'2x 1000 TB'
url:'https://threefold.info/projectinca/projectinca/inca_node_platinum.html'
vendor:'mazraa'
grant_month_usd:'1:60,24:60,25:0'
grant_month_inca:'1:0,24:0'
grant_max_nrnodes:1000 //max nr of nodes which will get this grant
// Define the CloudBox
!!tfgrid_simulator.cloudbox_define
node:'platinum'
amount:15
description:''
mem_gb:4
passmark:6000
price_range:'4,10'
price_simulation:5
storage_gb:500
vcores:2
// Define the StorageBox
!!tfgrid_simulator.storagebox_define
node:'platinum'
amount:100
description:''
price_range:'0.5,3.0'
price_simulation:0.6
```
## AI
```js
!!tfgrid_simulator.node_define
name:'ai'
cpu_brand:'amd'
cpu_version:'9600'
deliverytime:'2024-8-20'
description:'A powerfull AI node with 64 GB of mem and Nvidia 4900 GPU'
hdd:'1x 10 TB'
image:'silver.png'
inca_reward:2000
mem:'64 GB'
cost:3999
ssd:'2x 1000 TB'
url:'https://threefold.info/projectinca/projectinca/inca_node_ai.html'
vendor:'mazraa'
grant_month_usd:'1:200,24:200,25:0'
grant_month_inca:'1:0,24:0'
grant_max_nrnodes:1000 //max nr of nodes which will get this grant
!!tfgrid_simulator.aibox_define
node:'ai'
amount:1
gpu_brand:'Nvidia GeForce'
gpu_version:'RTX4090'
mem_gb:60
mem_gb_gpu:24
passmark:24000
price_range:'200,800'
price_simulation:400
ssd_nr:2
storage_gb:1800
vcores:24
!!tfgrid_simulator.storagebox_define
node:'ai'
amount:100
description:''
price_range:'0.5,3.0'
price_simulation:0.6
```
## SILVER
```js
!!tfgrid_simulator.node_define
name:'silver'
cpu_brand:'intel'
cpu_version:'N96 12e gen'
deliverytime:'2024-8-20'
description:'Allround model, easy to extend with Battery & Wireless Access Point'
hdd:'None'
image:'silver.png'
inca_reward:250
mem:'16 GB'
passmark:6000
cost:499
ssd:'1x 1000 TB'
url:'https://threefold.info/projectinca/projectinca/inca_node_silver.html'
vendor:'mazraa'
grant_month_usd:'1:20,24:20,25:0'
grant_month_inca:'1:0,24:0'
grant_max_nrnodes:5000 //max nr of nodes which will get this grant
!!tfgrid_simulator.cloudbox_define
node:'silver'
amount:4
description:''
mem_gb:3.6
passmark:5000
price_range:'4,10'
price_simulation:6
storage_gb:300
vcores:2
```

View File

@@ -0,0 +1,14 @@
# INCA Rewards
not used yet.
```js
// !!tfgrid_simulator.rewards_define
// inca_grant_new_user_usd:'1:20,12:0'
// inca_grant_new_user_inca:'1:20,12:0'
// inca_grant_month_usd:'1:20,12:0'
// inca_grant_month_inca:'1:20,12:0'
```

View File

@@ -0,0 +1,34 @@
## growth simulation
```js
!!tfgrid_simulator.node_growth_define
node_name:'silver'
new_month:'0:20,30:5000'
churn:2 //in percent 0..100
utilization:'0:0,20:70' //in percent 0..100
discount:'0:0,60:30' //in percent 0..100
!!tfgrid_simulator.node_growth_define
node_name:'platinum'
new_month:'0:20,50:200'
churn:2 //in percent 0..100
utilization:'0:0,20:70' //in percent 0..100
discount:'0:0,60:30' //in percent 0..100
!!tfgrid_simulator.node_growth_define
node_name:'ai'
new_month:'0:20,30:100'
churn:2 //in percent 0..100
utilization:'0:0,20:70' //in percent 0..100
discount:'0:0,60:30' //in percent 0..100
!!tfgrid_simulator.incaprice_define
incaprice_usd:'0:0.05,12:0.3,24:0.5,60:2'
!!tfgrid_simulator.run name:'run1'
```

View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -ex
#~/code/github/freeflowuniverse/crystallib/cli/hero/compile_debug.sh
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/heroscript/tfgridsimulation_farming
#result will be in /root/hero/var/mdbuild/tfgrid4simulator
#~/hero/www/info/tfgrid4simulator/
#https://threefold.info/tfgrid4simulator/

View File

@@ -0,0 +1 @@
../../heroscript/tfgridsimulation_farming/SUMMARY.md

View File

@@ -0,0 +1 @@
tf_intro.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

View File

@@ -0,0 +1,11 @@
![](img/tf_intro.png)
## Simulator for TFGrid 4.x
This simulator has been created to allow people to experiment with the economic principles behind the TFGrid.
In version 4 we changed the principles to make it easier to reach millions of nodes in the field.
More information about threefold see: [https://www.threefold.io/host/](https://www.threefold.io/host/)

View File

@@ -0,0 +1,5 @@
!!!tfgridsimulation_farming.node_wiki name:'1u'

View File

@@ -0,0 +1,5 @@
## Regional Internets
!!!tfgridsimulation_farming.regionalinternet_wiki name:'znz'

View File

@@ -0,0 +1,42 @@
## generic node, name 1U
This is a normalized node for our simulator
Following defines the Bill of Material and composition of such a node
```js
!!tfgridsimulation_farming.component_define name:AMD32
description: 'powerful amd cpu'
cost:250.0
power:70 //in watt
cru:32
!!tfgridsimulation_farming.component_define name:CASE1U
description: '1U rack mountable case'
cost:150.0
rackspace:1
power:20
!!tfgridsimulation_farming.component_define name:MEM32
description: 'memory 32 GB'
cost:90.0
power:20
mru:32
!!tfgridsimulation_farming.component_define name:SSD1TB
description: 'SSD of 2 GT'
cost:120.0
power:5
sru:1000
!!tfgridsimulation_farming.node_template_define name:'1U'
image:'projectinca:inca_node_silver_2.png'
!!tfgridsimulation_farming.node_template_component_add name:'1U' nr:1 component:AMD32
!!tfgridsimulation_farming.node_template_component_add name:'1U' nr:1 component:CASE1U
!!tfgridsimulation_farming.node_template_component_add name:'1U' nr:4 component:MEM32
!!tfgridsimulation_farming.node_template_component_add name:'1U' nr:2 component:SSD1TB
```

View File

@@ -0,0 +1,15 @@
## cultivation parameters for the simulation
```js
!!tfgridsimulation_farming.cultivation_params_define
utilization_nodes: '1:0,24:70' //how much in percentage are nodes used (0-100)
revenue_per_cu_usd: '1:5,60:4' //revenue per cloud units
revenue_per_su_usd: '1:5,60:3'
revenue_per_nu_usd: '1:0.01,60:0.005'
cost_per_cu_usd: '1:0' //is there a cost for the units, here no
cost_per_su_usd: '1:0'
cost_per_nu_usd: '1:0.005,60:0.0025' //for networking there is a cost
```

View File

@@ -0,0 +1,21 @@
## parameters for the simulation
```js
!!tfgridsimulation_farming.environment_params_define
//power cost per khw
power_cost: '1:0.15,60:0.25'
//rackspace cost per U in USD
rackspace_cost: '1:10,60:5'
!!tfgridsimulation_farming.farming_params_define
//nr of months lockup after adding node
farming_lockup: 24
farming_min_utilizaton: 30
//how much will node hardware cost more (here less) over time, 2 means double, 0.5 means half
price_increase_nodecost: '1:1,60:0.3'
//price in USD for support cost per node per month
support_cost_node: '1:10'
```

View File

@@ -0,0 +1,17 @@
## Growth
### Regional internet ZNZ
```js
!!tfgridsimulation_farming.regional_internet_add name:znz
Add the nodes following our template 1U to our regional internet.
!!tfgridsimulation_farming.regional_internet_nodes_add
name:znz
template:1U
//nodes added per month from the template
growth:'3:0,4:50,12:200,24:1000,60:3000'
```

View File

@@ -0,0 +1,16 @@
## token params
```js
!!tfgridsimulation_farming.token_params_define
// in usd per chi token
chi_price_usd: '1:0.1,12:0.2,24:0.5,36:3,60:2'
// chi_price_usd: '1:0.1'
chi_total_tokens_million: 1000
```

View File

@@ -0,0 +1,13 @@
## the runner
This page triggers the full simulation
```js
!!tfgridsimulation_farming.run //this one will make sure the simulator is run
```

View File

@@ -0,0 +1,7 @@
![](img/tf_intro.png)
# Specifications
In this section you can change the paramters of a simulation.

View File

@@ -12,4 +12,4 @@ It is a must to democratize the Internet.
Some companies have access to the data of hundreds of millions of citizens, this makes us a product.
![alt text](not_internet_losses.png)
![alt text](not_internet_losses.png)

View File

@@ -0,0 +1,8 @@
- [Introduction](tfgridsimulation/intro.md)
- [Specifications](tfgridsimulation/specs_simulator.md)
- [Nodes](tfgridsimulation/specs_nodes.md)
- [Rewards](tfgridsimulation/specs_rewards.md)
- [Node Stats](tfgridsimulation/node_stats.md)
- [Silver Nodes](tfgridsimulation/silver_stats.md)
- [Platinum Nodes](tfgridsimulation/platinum_stats.md)
- [AI Nodes](tfgridsimulation/platinum_stats.md)

View File

@@ -0,0 +1,14 @@
```js
!!book.generate name:'tfgrid4simulator' title:'TFGrid Simulator 4.0'
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/heroscript/tfgridsimulation'
!!doctree.add
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/collections/tfgridsimulation'
```

View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -ex
~/code/github/freeflowuniverse/crystallib/cli/hero/compile_debug.sh
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/heroscript/tfgridsimulation -o
#result will be in /root/hero/var/mdbuild/tfgrid4simulator
#~/hero/www/info/tfgrid4simulator/
#https://threefold.info/tfgrid4simulator/

View File

@@ -0,0 +1,3 @@
#!/bin/bash
#hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/tech
rsync -rv ~/hero/www/info/tfgrid4simulator/ root@info.ourworld.tf:/root/hero/www/info/tfgrid4simulation/

View File

@@ -0,0 +1,4 @@
- [Introduction](tfgridsimulation_farming/intro.md)
- [Specifications](tfgridsimulation_farming/specification.md)
- [Node 1U](tfgridsimulation_farming/node_1u.md)
- [regionalinternet.md](tfgridsimulation_farming/regionalinternet.md)

View File

@@ -0,0 +1,14 @@
```js
!!book.generate name:'tfgridsimulation_farming' title:'TFGrid Simulator 4.0 - Farming'
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/heroscript/tfgridsimulation_farming'
!!doctree.add
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/collections/tfgridsimulation_farming'
```

View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -ex
#~/code/github/freeflowuniverse/crystallib/cli/hero/compile_debug.sh
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/heroscript/tfgridsimulation_farming -o
#result will be in /root/hero/var/mdbuild/tfgrid4simulator
#~/hero/www/info/tfgrid4simulator/
#https://threefold.info/tfgrid4simulator/

View File

@@ -0,0 +1,3 @@
#!/bin/bash
#hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/tech
rsync -rv ~/hero/www/info/tfgrid4simulator/ root@info.ourworld.tf:/root/hero/www/info/tfgrid4simulation_farming/